diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2009-02-09 21:05:16 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-02-09 21:05:16 -0500 |
commit | 0012985d184b7b9d4513eacd35771715471e06ef (patch) | |
tree | ff373d8986fbdda1d7ac895c4265e38cd0393f7c /drivers | |
parent | aa6320d336971171df1d13c1c284facf10804881 (diff) |
ppp: section fixes re netns
PPP is modular code so no initdata on netns hooks.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ppp_generic.c | 2 | ||||
-rw-r--r-- | drivers/net/pppoe.c | 2 | ||||
-rw-r--r-- | drivers/net/pppol2tp.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/ppp_generic.c b/drivers/net/ppp_generic.c index 4405a76ed3da..fddc8493f35c 100644 --- a/drivers/net/ppp_generic.c +++ b/drivers/net/ppp_generic.c | |||
@@ -901,7 +901,7 @@ static __net_exit void ppp_exit_net(struct net *net) | |||
901 | kfree(pn); | 901 | kfree(pn); |
902 | } | 902 | } |
903 | 903 | ||
904 | static __net_initdata struct pernet_operations ppp_net_ops = { | 904 | static struct pernet_operations ppp_net_ops = { |
905 | .init = ppp_init_net, | 905 | .init = ppp_init_net, |
906 | .exit = ppp_exit_net, | 906 | .exit = ppp_exit_net, |
907 | }; | 907 | }; |
diff --git a/drivers/net/pppoe.c b/drivers/net/pppoe.c index 1011fd64108b..af6321d97574 100644 --- a/drivers/net/pppoe.c +++ b/drivers/net/pppoe.c | |||
@@ -1175,7 +1175,7 @@ static __net_exit void pppoe_exit_net(struct net *net) | |||
1175 | kfree(pn); | 1175 | kfree(pn); |
1176 | } | 1176 | } |
1177 | 1177 | ||
1178 | static __net_initdata struct pernet_operations pppoe_net_ops = { | 1178 | static struct pernet_operations pppoe_net_ops = { |
1179 | .init = pppoe_init_net, | 1179 | .init = pppoe_init_net, |
1180 | .exit = pppoe_exit_net, | 1180 | .exit = pppoe_exit_net, |
1181 | }; | 1181 | }; |
diff --git a/drivers/net/pppol2tp.c b/drivers/net/pppol2tp.c index 15f4a43a6890..1ba0f6864ac4 100644 --- a/drivers/net/pppol2tp.c +++ b/drivers/net/pppol2tp.c | |||
@@ -2647,7 +2647,7 @@ static __net_exit void pppol2tp_exit_net(struct net *net) | |||
2647 | kfree(pn); | 2647 | kfree(pn); |
2648 | } | 2648 | } |
2649 | 2649 | ||
2650 | static __net_initdata struct pernet_operations pppol2tp_net_ops = { | 2650 | static struct pernet_operations pppol2tp_net_ops = { |
2651 | .init = pppol2tp_init_net, | 2651 | .init = pppol2tp_init_net, |
2652 | .exit = pppol2tp_exit_net, | 2652 | .exit = pppol2tp_exit_net, |
2653 | }; | 2653 | }; |