diff options
author | David S. Miller <davem@davemloft.net> | 2009-07-26 13:39:10 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-07-26 13:39:10 -0700 |
commit | 421d20a3dccb3670d4b2e8d3e4cef6327530f30d (patch) | |
tree | 2b6ce9abf9acd128ac1a0639285c82d9ec88ac27 /net/phonet | |
parent | c8b201ff867e64b6233d069563081775269f4499 (diff) | |
download | linux-421d20a3dccb3670d4b2e8d3e4cef6327530f30d.tar.gz linux-421d20a3dccb3670d4b2e8d3e4cef6327530f30d.tar.bz2 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>
Diffstat (limited to 'net/phonet')
-rw-r--r-- | net/phonet/pn_dev.c | 1 |
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> |