]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit45f2a8926f12419036e485a3e66f7319cb38f54b
treece1f74c4aba9a65146a06ccda1080b0eea5d6a20
parentad0e7c19892376234bd6cc101c25c22a9e8a506f
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>
net/core/netprio_cgroup.c