diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2017-02-07 15:02:55 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-02-10 13:51:01 -0500 |
commit | 43cc277a93a2b74430e2ae03e92bd9bc4f303814 (patch) | |
tree | ce1f74c4aba9a65146a06ccda1080b0eea5d6a20 /net | |
parent | f39b2dde4886450b965ccd0a6defe8bc33fcc938 (diff) |
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.c | 1 |
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> |