batman-adv: ELP - adding basic infrastructure
[deliverable/linux.git] / net / batman-adv / bat_algo.h
index a7485d676088c367eb56b98a7030aca21c29374d..a4e994e26da11e983f62d4737dfc7048fdb12c67 100644 (file)
@@ -1,6 +1,6 @@
 /* Copyright (C) 2011-2016  B.A.T.M.A.N. contributors:
  *
- * Marek Lindner
+ * Marek Lindner, Linus Lüssing
  *
  * This program is free software; you can redistribute it and/or
  * modify it under the terms of version 2 of the GNU General Public
 
 int batadv_iv_init(void);
 
+#ifdef CONFIG_BATMAN_ADV_BATMAN_V
+
+int batadv_v_init(void);
+
+#else
+
+static inline int batadv_v_init(void)
+{
+       return 0;
+}
+
+#endif /* CONFIG_BATMAN_ADV_BATMAN_V */
+
 #endif /* _NET_BATMAN_ADV_BAT_ALGO_H_ */
This page took 0.024578 seconds and 5 git commands to generate.