diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2017-02-08 00:02:55 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-02-10 19:51:01 +0100 |
commit | 43cc277a93a2b74430e2ae03e92bd9bc4f303814 (patch) | |
tree | ce1f74c4aba9a65146a06ccda1080b0eea5d6a20 /net/core | |
parent | net: sunrpc: fix build errors when linux/phy*.h is removed from net/dsa.h (diff) | |
download | linux-43cc277a93a2b74430e2ae03e92bd9bc4f303814.tar.xz linux-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/core')
-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> |