projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a64469
)
batman-adv: include kobject.h for kobject_* functions
author
Sven Eckelmann
<sven@narfation.org>
Sun, 19 Nov 2017 16:12:05 +0000
(17:12 +0100)
committer
Simon Wunderlich
<sw@simonwunderlich.de>
Fri, 15 Dec 2017 16:29:18 +0000
(17:29 +0100)
The linux/kobject.h provides the kobject_* function declarations and should
therefore be included directly before they are used.
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
net/batman-adv/sysfs.c
patch
|
blob
|
history
diff --git
a/net/batman-adv/sysfs.c
b/net/batman-adv/sysfs.c
index 374ff46feb8e6a9f129eed83483dd6013182dd91..227a072dc1d30c7a2e6fcc5399d00b97070f548c 100644
(file)
--- a/
net/batman-adv/sysfs.c
+++ b/
net/batman-adv/sysfs.c
@@
-27,6
+27,7
@@
#include <linux/if.h>
#include <linux/if_vlan.h>
#include <linux/kernel.h>
+#include <linux/kobject.h>
#include <linux/kref.h>
#include <linux/netdevice.h>
#include <linux/printk.h>