Commit 730e1a09 authored by Maksim Krasnyanskiy's avatar Maksim Krasnyanskiy

Initialize Bluetooth core using subsys_initcall().

parent 5b3e7241
......@@ -356,7 +356,7 @@ static void __exit bluez_cleanup(void)
remove_proc_entry("bluetooth", NULL);
}
module_init(bluez_init);
subsys_initcall(bluez_init);
module_exit(bluez_cleanup);
MODULE_AUTHOR("Maxim Krasnyansky <maxk@qualcomm.com>");
......
......@@ -1684,10 +1684,6 @@ extern void sk_init(void);
extern void wanrouter_init(void);
#endif
#ifdef CONFIG_BLUEZ
extern void bluez_init(void);
#endif
void __init sock_init(void)
{
int i;
......@@ -1748,10 +1744,6 @@ void __init sock_init(void)
#ifdef CONFIG_NETFILTER
netfilter_init();
#endif
#ifdef CONFIG_BLUEZ
bluez_init();
#endif
}
int socket_get_info(char *buffer, char **start, off_t offset, int length)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment