diff options
author | Sven Eckelmann <sven@narfation.org> | 2017-11-19 19:12:05 +0300 |
---|---|---|
committer | Simon Wunderlich <sw@simonwunderlich.de> | 2017-12-15 19:29:18 +0300 |
commit | 8cfba951a0e65acb4ea9fe669a0aa09a44c5d1de (patch) | |
tree | 1a2a0e3d13b9b7db28857f7035e55ea634b78cc4 /net/batman-adv | |
parent | 3a64469e4fddeeca8e6fba7ea4e9558a4af3a1c8 (diff) | |
download | linux-8cfba951a0e65acb4ea9fe669a0aa09a44c5d1de.tar.xz |
batman-adv: include kobject.h for kobject_* functions
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>
Diffstat (limited to 'net/batman-adv')
-rw-r--r-- | net/batman-adv/sysfs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/batman-adv/sysfs.c b/net/batman-adv/sysfs.c index 374ff46feb8e..227a072dc1d3 100644 --- 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> |