aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2009-02-09 18:05:16 -0800
committerDavid S. Miller <davem@davemloft.net>2009-02-09 18:05:16 -0800
commit0012985d184b7b9d4513eacd35771715471e06ef (patch)
treeff373d8986fbdda1d7ac895c4265e38cd0393f7c
parentaa6320d336971171df1d13c1c284facf10804881 (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>
-rw-r--r--drivers/net/ppp_generic.c2
-rw-r--r--drivers/net/pppoe.c2
-rw-r--r--drivers/net/pppol2tp.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/ppp_generic.c b/drivers/net/ppp_generic.c
index 4405a76ed3d..fddc8493f35 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)
kfree(pn);
}
-static __net_initdata struct pernet_operations ppp_net_ops = {
+static struct pernet_operations ppp_net_ops = {
.init = ppp_init_net,
.exit = ppp_exit_net,
};
diff --git a/drivers/net/pppoe.c b/drivers/net/pppoe.c
index 1011fd64108..af6321d9757 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)
kfree(pn);
}
-static __net_initdata struct pernet_operations pppoe_net_ops = {
+static struct pernet_operations pppoe_net_ops = {
.init = pppoe_init_net,
.exit = pppoe_exit_net,
};
diff --git a/drivers/net/pppol2tp.c b/drivers/net/pppol2tp.c
index 15f4a43a689..1ba0f6864ac 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)
kfree(pn);
}
-static __net_initdata struct pernet_operations pppol2tp_net_ops = {
+static struct pernet_operations pppol2tp_net_ops = {
.init = pppol2tp_init_net,
.exit = pppol2tp_exit_net,
};