diff options
Diffstat (limited to 'net/phonet/pn_dev.c')
-rw-r--r-- | net/phonet/pn_dev.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/net/phonet/pn_dev.c b/net/phonet/pn_dev.c index 5491bf5e354b..af49db01d634 100644 --- a/net/phonet/pn_dev.c +++ b/net/phonet/pn_dev.c | |||
@@ -188,9 +188,11 @@ static struct notifier_block phonet_device_notifier = { | |||
188 | }; | 188 | }; |
189 | 189 | ||
190 | /* Initialize Phonet devices list */ | 190 | /* Initialize Phonet devices list */ |
191 | void phonet_device_init(void) | 191 | int __init phonet_device_init(void) |
192 | { | 192 | { |
193 | register_netdevice_notifier(&phonet_device_notifier); | 193 | register_netdevice_notifier(&phonet_device_notifier); |
194 | phonet_netlink_register(); | ||
195 | return 0; | ||
194 | } | 196 | } |
195 | 197 | ||
196 | void phonet_device_exit(void) | 198 | void phonet_device_exit(void) |