summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2017-02-07 15:02:55 -0800
committerDavid S. Miller <davem@davemloft.net>2017-02-10 13:51:01 -0500
commit43cc277a93a2b74430e2ae03e92bd9bc4f303814 (patch)
treece1f74c4aba9a65146a06ccda1080b0eea5d6a20 /net
parentf39b2dde4886450b965ccd0a6defe8bc33fcc938 (diff)
downloadlinux-riscv-43cc277a93a2b74430e2ae03e92bd9bc4f303814.tar.gz
linux-riscv-43cc277a93a2b74430e2ae03e92bd9bc4f303814.tar.bz2
linux-riscv-43cc277a93a2b74430e2ae03e92bd9bc4f303814.zip
net: cgroups: fix build errors when linux/phy*.h is removed from net/dsa.h
net/core/netprio_cgroup.c:303:16: error: expected declaration specifiers or '...' before string constant MODULE_LICENSE("GPL v2"); ^~~~~~~~ Add linux/module.h to fix this. Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r--net/core/netprio_cgroup.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/core/netprio_cgroup.c b/net/core/netprio_cgroup.c
index 2ec86fc552df..756637dc7a57 100644
--- a/net/core/netprio_cgroup.c
+++ b/net/core/netprio_cgroup.c
@@ -13,6 +13,7 @@
#include <linux/slab.h>
#include <linux/types.h>
+#include <linux/module.h>
#include <linux/string.h>
#include <linux/errno.h>
#include <linux/skbuff.h>