aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/ipconfig.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv4/ipconfig.c')
-rw-r--r--net/ipv4/ipconfig.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/ipv4/ipconfig.c b/net/ipv4/ipconfig.c
index c5b247077539..5ae4849878a3 100644
--- a/net/ipv4/ipconfig.c
+++ b/net/ipv4/ipconfig.c
@@ -55,6 +55,7 @@
55#include <linux/root_dev.h> 55#include <linux/root_dev.h>
56#include <linux/delay.h> 56#include <linux/delay.h>
57#include <linux/nfs_fs.h> 57#include <linux/nfs_fs.h>
58#include <net/net_namespace.h>
58#include <net/arp.h> 59#include <net/arp.h>
59#include <net/ip.h> 60#include <net/ip.h>
60#include <net/ipconfig.h> 61#include <net/ipconfig.h>
@@ -1253,7 +1254,7 @@ static int __init ip_auto_config(void)
1253 __be32 addr; 1254 __be32 addr;
1254 1255
1255#ifdef CONFIG_PROC_FS 1256#ifdef CONFIG_PROC_FS
1256 proc_net_fops_create("pnp", S_IRUGO, &pnp_seq_fops); 1257 proc_net_fops_create(&init_net, "pnp", S_IRUGO, &pnp_seq_fops);
1257#endif /* CONFIG_PROC_FS */ 1258#endif /* CONFIG_PROC_FS */
1258 1259
1259 if (!ic_enable) 1260 if (!ic_enable)