drm/panel-edp: Add BOE NV140FHM-NZ panel entry
[drm/drm-misc.git] / net / batman-adv / bat_v.h
blob964431f4dc8de837973566465f4dacc4f07d94b4
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright (C) B.A.T.M.A.N. contributors:
4 * Marek Lindner, Linus Lüssing
5 */
7 #ifndef _NET_BATMAN_ADV_BAT_V_H_
8 #define _NET_BATMAN_ADV_BAT_V_H_
10 #include "main.h"
12 #ifdef CONFIG_BATMAN_ADV_BATMAN_V
14 int batadv_v_init(void);
15 void batadv_v_hardif_init(struct batadv_hard_iface *hardif);
16 int batadv_v_mesh_init(struct batadv_priv *bat_priv);
17 void batadv_v_mesh_free(struct batadv_priv *bat_priv);
19 #else
21 static inline int batadv_v_init(void)
23 return 0;
26 static inline void batadv_v_hardif_init(struct batadv_hard_iface *hardif)
30 static inline int batadv_v_mesh_init(struct batadv_priv *bat_priv)
32 return 0;
35 static inline void batadv_v_mesh_free(struct batadv_priv *bat_priv)
39 #endif /* CONFIG_BATMAN_ADV_BATMAN_V */
41 #endif /* _NET_BATMAN_ADV_BAT_V_H_ */