Commit f0a0c1ce authored by Fabian Frederick's avatar Fabian Frederick Committed by David S. Miller

ieee802154: fix __init functions

Commit 3243acd3
("ieee802154: add __init to lowpan_frags_sysctl_register")

added __init to lowpan_frags_ns_sysctl_register instead of
lowpan_frags_sysctl_register
Suggested-by: default avatarAlexander Aring <alex.aring@gmail.com>
Signed-off-by: default avatarFabian Frederick <fabf@skynet.be>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 09bba1ca
...@@ -498,7 +498,7 @@ static void lowpan_frags_sysctl_unregister(void) ...@@ -498,7 +498,7 @@ static void lowpan_frags_sysctl_unregister(void)
unregister_net_sysctl_table(lowpan_ctl_header); unregister_net_sysctl_table(lowpan_ctl_header);
} }
#else #else
static inline int __init lowpan_frags_ns_sysctl_register(struct net *net) static inline int lowpan_frags_ns_sysctl_register(struct net *net)
{ {
return 0; return 0;
} }
...@@ -507,7 +507,7 @@ static inline void lowpan_frags_ns_sysctl_unregister(struct net *net) ...@@ -507,7 +507,7 @@ static inline void lowpan_frags_ns_sysctl_unregister(struct net *net)
{ {
} }
static inline int lowpan_frags_sysctl_register(void) static inline int __init lowpan_frags_sysctl_register(void)
{ {
return 0; return 0;
} }
......
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