summaryrefslogtreecommitdiff
path: root/net/batman-adv/gateway_common.h
diff options
context:
space:
mode:
authorSven Eckelmann <sven@narfation.org>2012-06-04 00:19:18 +0400
committerAntonio Quartulli <ordex@autistici.org>2012-07-02 00:47:18 +0400
commitcd646ab1e2edde9faeff52bbc1b40e58a5e381fc (patch)
tree7608bcfc6054333d482d83a5d77276b6ee2a182a /net/batman-adv/gateway_common.h
parenta59a4d1921664da63d801ba477950114c71c88c9 (diff)
downloadlinux-cd646ab1e2edde9faeff52bbc1b40e58a5e381fc.tar.xz
batman-adv: Prefix gateway enum with BATADV_
Reported-by: Martin Hundebøll <martin@hundeboll.net> Signed-off-by: Sven Eckelmann <sven@narfation.org>
Diffstat (limited to 'net/batman-adv/gateway_common.h')
-rw-r--r--net/batman-adv/gateway_common.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/net/batman-adv/gateway_common.h b/net/batman-adv/gateway_common.h
index 31bbc3c070a6..13697f6e7113 100644
--- a/net/batman-adv/gateway_common.h
+++ b/net/batman-adv/gateway_common.h
@@ -20,10 +20,10 @@
#ifndef _NET_BATMAN_ADV_GATEWAY_COMMON_H_
#define _NET_BATMAN_ADV_GATEWAY_COMMON_H_
-enum gw_modes {
- GW_MODE_OFF,
- GW_MODE_CLIENT,
- GW_MODE_SERVER,
+enum batadv_gw_modes {
+ BATADV_GW_MODE_OFF,
+ BATADV_GW_MODE_CLIENT,
+ BATADV_GW_MODE_SERVER,
};
#define BATADV_GW_MODE_OFF_NAME "off"