summaryrefslogtreecommitdiffstats
path: root/net/ieee802154
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2014-10-01 07:27:46 +0200
committerDavid S. Miller <davem@davemloft.net>2014-10-01 02:03:13 -0400
commitf0a0c1cedfe421b32d2aa39971c43f83f8e5fa42 (patch)
tree6ab24c41a2b6d6be86e081a500126c09d5538a75 /net/ieee802154
parent09bba1ca558f6e3a5cf3ae095d59f29f8c464b34 (diff)
downloadop-kernel-dev-f0a0c1cedfe421b32d2aa39971c43f83f8e5fa42.zip
op-kernel-dev-f0a0c1cedfe421b32d2aa39971c43f83f8e5fa42.tar.gz
ieee802154: fix __init functions
Commit 3243acd37fd9 ("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>
Diffstat (limited to 'net/ieee802154')
-rw-r--r--net/ieee802154/reassembly.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ieee802154/reassembly.c b/net/ieee802154/reassembly.c
index 30ec608..7cfcd68 100644
--- a/net/ieee802154/reassembly.c
+++ b/net/ieee802154/reassembly.c
@@ -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;
}
OpenPOWER on IntegriCloud