aboutsummaryrefslogtreecommitdiffstats
path: root/net/ieee802154
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2014-10-01 01:27:46 -0400
committerDavid S. Miller <davem@davemloft.net>2014-10-01 02:03:13 -0400
commitf0a0c1cedfe421b32d2aa39971c43f83f8e5fa42 (patch)
tree6ab24c41a2b6d6be86e081a500126c09d5538a75 /net/ieee802154
parent09bba1ca558f6e3a5cf3ae095d59f29f8c464b34 (diff)
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 30ec608b351a..7cfcd6885225 100644
--- a/net/ieee802154/reassembly.c
+++ b/net/ieee802154/reassembly.c
@@ -498,7 +498,7 @@ static void lowpan_frags_sysctl_unregister(void)
498 unregister_net_sysctl_table(lowpan_ctl_header); 498 unregister_net_sysctl_table(lowpan_ctl_header);
499} 499}
500#else 500#else
501static inline int __init lowpan_frags_ns_sysctl_register(struct net *net) 501static inline int lowpan_frags_ns_sysctl_register(struct net *net)
502{ 502{
503 return 0; 503 return 0;
504} 504}
@@ -507,7 +507,7 @@ static inline void lowpan_frags_ns_sysctl_unregister(struct net *net)
507{ 507{
508} 508}
509 509
510static inline int lowpan_frags_sysctl_register(void) 510static inline int __init lowpan_frags_sysctl_register(void)
511{ 511{
512 return 0; 512 return 0;
513} 513}