summaryrefslogtreecommitdiffstats
path: root/net/batman-adv/hard-interface.h
diff options
context:
space:
mode:
authorSven Eckelmann <sven@narfation.org>2012-06-03 22:19:19 +0200
committerAntonio Quartulli <ordex@autistici.org>2012-07-01 22:47:18 +0200
commite9a4f295ebe06b00d6af5597c0cea78c315c2ebc (patch)
treebf1866658a3c111f714173a02a14c253b4b5e1c0 /net/batman-adv/hard-interface.h
parentcd646ab1e2edde9faeff52bbc1b40e58a5e381fc (diff)
downloadlinux-e9a4f295ebe06b00d6af5597c0cea78c315c2ebc.tar.gz
linux-e9a4f295ebe06b00d6af5597c0cea78c315c2ebc.tar.bz2
linux-e9a4f295ebe06b00d6af5597c0cea78c315c2ebc.zip
batman-adv: Prefix hard-interface 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/hard-interface.h')
-rw-r--r--net/batman-adv/hard-interface.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/net/batman-adv/hard-interface.h b/net/batman-adv/hard-interface.h
index d66dabd620b7..4b60d580d290 100644
--- a/net/batman-adv/hard-interface.h
+++ b/net/batman-adv/hard-interface.h
@@ -20,13 +20,13 @@
#ifndef _NET_BATMAN_ADV_HARD_INTERFACE_H_
#define _NET_BATMAN_ADV_HARD_INTERFACE_H_
-enum hard_if_state {
- IF_NOT_IN_USE,
- IF_TO_BE_REMOVED,
- IF_INACTIVE,
- IF_ACTIVE,
- IF_TO_BE_ACTIVATED,
- IF_I_WANT_YOU
+enum batadv_hard_if_state {
+ BATADV_IF_NOT_IN_USE,
+ BATADV_IF_TO_BE_REMOVED,
+ BATADV_IF_INACTIVE,
+ BATADV_IF_ACTIVE,
+ BATADV_IF_TO_BE_ACTIVATED,
+ BATADV_IF_I_WANT_YOU,
};
extern struct notifier_block batadv_hard_if_notifier;