提交 f0a0c1ce 编写于 作者: F Fabian Frederick 提交者: 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: NAlexander Aring <alex.aring@gmail.com>
Signed-off-by: NFabian Frederick <fabf@skynet.be>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 09bba1ca
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册