[B.A.T.M.A.N.] [PATCH] batman-adv: Add missing forward declaration for net_device

Sven Eckelmann
2015-11-21T23:59:30Z

A new function batadv_bla_status_update was introduced which uses the not
yet defined struct net_device as parameter. Add the forward declaration to
avoid compiler warnings about type declarations inside parameter list.

Fixes: 07ed3c31d795 ("batman-adv: purge bridge loop avoidance when its disabled")
Signed-off-by: Sven Eckelmann <sven@narfation.org>
---
net/batman-adv/bridge_loop_avoidance.h | 1 +
1 file changed, 1 insertion(+)

diff --git a/net/batman-adv/bridge_loop_avoidance.h b/net/batman-adv/bridge_loop_avoidance.h
index db1aeb5..7ea199b 100644
--- a/net/batman-adv/bridge_loop_avoidance.h
+++ b/net/batman-adv/bridge_loop_avoidance.h
@@ -22,6 +22,7 @@

#include <linux/types.h>

+struct net_device;
struct seq_file;
struct sk_buff;

--
2.6.2