projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f39b2dd
)
net: cgroups: fix build errors when linux/phy*.h is removed from net/dsa.h
author
Russell King
<rmk+kernel@armlinux.org.uk>
Tue, 7 Feb 2017 23:02:55 +0000
(15:02 -0800)
committer
David 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
patch
|
blob
|
blame
|
history
diff --git
a/net/core/netprio_cgroup.c
b/net/core/netprio_cgroup.c
index 2ec86fc552df6e2bd07981fb2ade76305d2545b6..756637dc7a5769ea7041e3c2a67221d79668f751 100644
(file)
--- 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>