3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-10-04 02:18:49 +02:00

ofono: convert to module

This commit is contained in:
James Prestwood 2020-09-16 12:39:42 -07:00 committed by Denis Kenzior
parent f3e2c4e5c3
commit 83a9de58c2

View File

@ -30,11 +30,12 @@
#include <errno.h> #include <errno.h>
#include <ell/ell.h> #include <ell/ell.h>
#include <ell/plugin.h>
#include <ell/dbus.h> #include <ell/dbus.h>
#include "src/dbus.h" #include "src/dbus.h"
#include "src/simauth.h" #include "src/simauth.h"
#include "src/module.h"
#include "src/iwd.h"
/* /*
* This plugin takes care of all the communication with ofono in order to * This plugin takes care of all the communication with ofono in order to
@ -783,5 +784,5 @@ static void ofono_exit(void)
l_dbus_remove_watch(dbus, ofono_watch); l_dbus_remove_watch(dbus, ofono_watch);
} }
L_PLUGIN_DEFINE(__iwd_builtin_ofono, ofono, "oFono plugin", "1.0", IWD_MODULE(ofono, ofono_init, ofono_exit);
L_PLUGIN_PRIORITY_DEFAULT, ofono_init, ofono_exit) IWD_MODULE_DEPENDS(ofono, simauth);