Commit 421d20a3 authored by David S. Miller's avatar David S. Miller

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: default avatarDavid S. Miller <davem@davemloft.net>
parent c8b201ff
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
#include <linux/net.h> #include <linux/net.h>
#include <linux/netdevice.h> #include <linux/netdevice.h>
#include <linux/phonet.h> #include <linux/phonet.h>
#include <linux/proc_fs.h>
#include <net/sock.h> #include <net/sock.h>
#include <net/netns/generic.h> #include <net/netns/generic.h>
#include <net/phonet/pn_dev.h> #include <net/phonet/pn_dev.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment