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>
This commit is contained in:
Sven Eckelmann 2017-11-19 17:12:05 +01:00 committed by Simon Wunderlich
parent 3a64469e4f
commit 8cfba951a0
1 changed files with 1 additions and 0 deletions

View File

@ -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>