phonet: Fix build.
authorDavid S. Miller <davem@davemloft.net>
Sun, 26 Jul 2009 20:39:10 +0000 (13:39 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 26 Jul 2009 20:39:10 +0000 (13:39 -0700)
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>
net/phonet/pn_dev.c

index 5107b7949c9cf1e950679d0265e4b5715fbf404f..6b30cc1b94b8c4b14494eb4751878023d3d96f84 100644 (file)
@@ -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>