From: David S. Miller <davem@davemloft.net> Date: Sun, 26 Jul 2009 20:39:10 +0000 (-0700) Subject: phonet: Fix build. X-Git-Tag: firefly_0821_release~12983^2~543 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=421d20a3dccb3670d4b2e8d3e4cef6327530f30d;p=firefly-linux-kernel-4.4.55.git 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> --- 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>