From: Sven Eckelmann Date: Sun, 19 Nov 2017 16:12:05 +0000 (+0100) Subject: batman-adv: include kobject.h for kobject_* functions X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=8cfba951a0e65acb4ea9fe669a0aa09a44c5d1de;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: Simon Wunderlich --- 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 #include #include +#include #include #include #include