summaryrefslogtreecommitdiff
path: root/serial
diff options
context:
space:
mode:
authorAlok Barsode <alok.barsode@azingo.com>2009-04-21 16:33:36 +0530
committerMarcel Holtmann <marcel@holtmann.org>2009-04-21 13:23:51 +0100
commit2f28c39a63e19e41598af8088c5677859364bc04 (patch)
tree383f3e4ee4a5d721585be1d48ad829b707ff35db /serial
parent49d0b0513690beec7038ac118ab95988961d7d2d (diff)
Add priority field to plugin descriptor definition and load plugins in priority order.
Diffstat (limited to 'serial')
-rw-r--r--serial/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/serial/main.c b/serial/main.c
index 5db389c69..394927177 100644
--- a/serial/main.c
+++ b/serial/main.c
@@ -55,4 +55,5 @@ static void serial_exit(void)
dbus_connection_unref(connection);
}
-BLUETOOTH_PLUGIN_DEFINE("serial", VERSION, serial_init, serial_exit)
+BLUETOOTH_PLUGIN_DEFINE("serial", VERSION,
+ BLUETOOTH_PLUGIN_PRIORITY_DEFAULT, serial_init, serial_exit)