net: cgroups: fix build errors when linux/phy*.h is removed from net/dsa.h
authorRussell King <rmk+kernel@armlinux.org.uk>
Tue, 7 Feb 2017 23:02:55 +0000 (15:02 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Feb 2017 18:51:01 +0000 (13:51 -0500)
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>
net/core/netprio_cgroup.c

index 2ec86fc..756637d 100644 (file)
@@ -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>