diff options
Diffstat (limited to 'drivers/net/loopback.c')
-rw-r--r-- | drivers/net/loopback.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/loopback.c b/drivers/net/loopback.c index 82c10dec1b5a..2b739fd584f1 100644 --- a/drivers/net/loopback.c +++ b/drivers/net/loopback.c | |||
@@ -229,9 +229,11 @@ struct net_device loopback_dev = { | |||
229 | }; | 229 | }; |
230 | 230 | ||
231 | /* Setup and register the loopback device. */ | 231 | /* Setup and register the loopback device. */ |
232 | int __init loopback_init(void) | 232 | static int __init loopback_init(void) |
233 | { | 233 | { |
234 | return register_netdev(&loopback_dev); | 234 | return register_netdev(&loopback_dev); |
235 | }; | 235 | }; |
236 | 236 | ||
237 | module_init(loopback_init); | ||
238 | |||
237 | EXPORT_SYMBOL(loopback_dev); | 239 | EXPORT_SYMBOL(loopback_dev); |