net: include linux/proc_fs.h in dev_addr_lists.c
authorEric Dumazet <eric.dumazet@gmail.com>
Wed, 7 Apr 2010 23:46:36 +0000 (16:46 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 7 Apr 2010 23:46:36 +0000 (16:46 -0700)
As pointed by Randy Dunlap, we must include linux/proc_fs.h in
net/core/dev_addr_lists.c, regardless of CONFIG_PROC_FS

Reported-by: Randy Dunlap <randy.dunlap@oracle.com>,
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Acked-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev_addr_lists.c

index 37d5975e18a34955f628aea85d255c6c29a0e4b7..508f9c18992f0a0717ca31926fc2b2afcb07d9a1 100644 (file)
@@ -14,6 +14,7 @@
 #include <linux/netdevice.h>
 #include <linux/rtnetlink.h>
 #include <linux/list.h>
+#include <linux/proc_fs.h>
 
 /*
  * General list handling functions
@@ -667,7 +668,6 @@ void dev_mc_init(struct net_device *dev)
 EXPORT_SYMBOL(dev_mc_init);
 
 #ifdef CONFIG_PROC_FS
-#include <linux/proc_fs.h>
 #include <linux/seq_file.h>
 
 static int dev_mc_seq_show(struct seq_file *seq, void *v)