Allow binding of HAL driver to an adapter

This commit is contained in:
Marcel Holtmann 2008-09-29 02:25:14 +02:00
parent 533655873c
commit 1e997015ac

View File

@ -94,12 +94,17 @@ static int hal_probe(struct btd_adapter *adapter)
dbus_connection_unref(conn);
#endif
return -ENODEV;
return 0;
}
static void hal_remove(struct btd_adapter *adapter)
{
}
static struct btd_adapter_driver hal_driver = {
.name = "hal",
.probe = hal_probe,
.remove = hal_remove,
};
static int hal_init(void)