diff options
Diffstat (limited to 'src/device.c')
-rw-r--r-- | src/device.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/device.c b/src/device.c index 6dfefc0..d5e3e94 100644 --- a/src/device.c +++ b/src/device.c @@ -390,12 +390,12 @@ static struct rtnl_link_ops link_ops __read_mostly = { .newlink = newlink, }; -int device_init(void) +int __init device_init(void) { return rtnl_link_register(&link_ops); } -void device_uninit(void) +void __exit device_uninit(void) { rtnl_link_unregister(&link_ops); rcu_barrier_bh(); |