summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2009-07-26 22:39:10 +0200
committerDavid S. Miller <davem@davemloft.net>2009-07-26 22:39:10 +0200
commit421d20a3dccb3670d4b2e8d3e4cef6327530f30d (patch)
tree2b6ce9abf9acd128ac1a0639285c82d9ec88ac27
parentMerge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linvil... (diff)
downloadlinux-421d20a3dccb3670d4b2e8d3e4cef6327530f30d.tar.xz
linux-421d20a3dccb3670d4b2e8d3e4cef6327530f30d.zip
phonet: Fix build.
As reported by Oliver Hartkopp: net/phonet/pn_dev.c: In function ‘phonet_init_net’: net/phonet/pn_dev.c:221: error: implicit declaration of function ‘proc_net_fops_create’ net/phonet/pn_dev.c: In function ‘phonet_exit_net’: net/phonet/pn_dev.c:242: error: implicit declaration of function ‘proc_net_remove’ Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--net/phonet/pn_dev.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/phonet/pn_dev.c b/net/phonet/pn_dev.c
index 5107b7949c9c..6b30cc1b94b8 100644
--- a/net/phonet/pn_dev.c
+++ b/net/phonet/pn_dev.c
@@ -27,6 +27,7 @@
#include <linux/net.h>
#include <linux/netdevice.h>
#include <linux/phonet.h>
+#include <linux/proc_fs.h>
#include <net/sock.h>
#include <net/netns/generic.h>
#include <net/phonet/pn_dev.h>