summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-09-29 02:25:14 +0200
committerMarcel Holtmann <marcel@holtmann.org>2008-09-29 02:25:14 +0200
commit1e997015ace26a9a88aba56a9a4f744fdd2336f5 (patch)
treeb77f02acd7a59dad69a914a53fd488728edf7f3e /plugins
parent533655873c4978091edf3698b20d2b96c43dafc8 (diff)
Allow binding of HAL driver to an adapter
Diffstat (limited to 'plugins')
-rw-r--r--plugins/hal.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/plugins/hal.c b/plugins/hal.c
index 42169694..bc990a70 100644
--- a/plugins/hal.c
+++ b/plugins/hal.c
@@ -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)