aboutsummaryrefslogtreecommitdiffstats
path: root/net/core
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2010-04-07 19:46:36 -0400
committerDavid S. Miller <davem@davemloft.net>2010-04-07 19:46:36 -0400
commit298b9e44be9592e94c0e69a5d3893cd11f5484fa (patch)
tree3538533fc2594a57b7565583d15d37c41dc0b525 /net/core
parent18e225f257663c59ff9d4482f07ffd06361fc2ec (diff)
net: include linux/proc_fs.h in dev_addr_lists.c
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>
Diffstat (limited to 'net/core')
-rw-r--r--net/core/dev_addr_lists.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/dev_addr_lists.c b/net/core/dev_addr_lists.c
index 37d5975e18a3..508f9c18992f 100644
--- a/net/core/dev_addr_lists.c
+++ b/net/core/dev_addr_lists.c
@@ -14,6 +14,7 @@
14#include <linux/netdevice.h> 14#include <linux/netdevice.h>
15#include <linux/rtnetlink.h> 15#include <linux/rtnetlink.h>
16#include <linux/list.h> 16#include <linux/list.h>
17#include <linux/proc_fs.h>
17 18
18/* 19/*
19 * General list handling functions 20 * General list handling functions
@@ -667,7 +668,6 @@ void dev_mc_init(struct net_device *dev)
667EXPORT_SYMBOL(dev_mc_init); 668EXPORT_SYMBOL(dev_mc_init);
668 669
669#ifdef CONFIG_PROC_FS 670#ifdef CONFIG_PROC_FS
670#include <linux/proc_fs.h>
671#include <linux/seq_file.h> 671#include <linux/seq_file.h>
672 672
673static int dev_mc_seq_show(struct seq_file *seq, void *v) 673static int dev_mc_seq_show(struct seq_file *seq, void *v)