Repository : ssh://git@open-mesh.org/batman-adv
On branch : master
commit 2d6f107dd71c53792334bb0b1624e2f71f50bf35 Author: Sven Eckelmann sven@narfation.org Date: Sun Nov 19 17:12:05 2017 +0100
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
2d6f107dd71c53792334bb0b1624e2f71f50bf35 net/batman-adv/sysfs.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/net/batman-adv/sysfs.c b/net/batman-adv/sysfs.c index 5c29e38a..9eed0664 100644 --- a/net/batman-adv/sysfs.c +++ b/net/batman-adv/sysfs.c @@ -29,6 +29,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>