ieee802154: fix __init functions

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

added __init to lowpan_frags_ns_sysctl_register instead of
lowpan_frags_sysctl_register

Suggested-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Fabian Frederick 2014-10-01 07:27:46 +02:00 committed by David S. Miller
parent 09bba1ca55
commit f0a0c1cedf

View File

@ -498,7 +498,7 @@ static void lowpan_frags_sysctl_unregister(void)
unregister_net_sysctl_table(lowpan_ctl_header);
}
#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;
}
@ -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;
}