aboutsummaryrefslogtreecommitdiffstats
path: root/net/batman-adv
diff options
context:
space:
mode:
authorSven Eckelmann <sven@narfation.org>2012-06-03 16:19:08 -0400
committerAntonio Quartulli <ordex@autistici.org>2012-06-28 02:44:54 -0400
commit54590e4d4b369c9fc0dcbb3c7f39eb90fbddcbe2 (patch)
tree27eda8ff28caf3554dfa6b852a47dfde98b87f36 /net/batman-adv
parent347c80f0fb9adbd5f3756bd8a612664492768808 (diff)
batman-adv: Prefix debugfs defines with BATADV_
Reported-by: Martin Hundebøll <martin@hundeboll.net> Signed-off-by: Sven Eckelmann <sven@narfation.org>
Diffstat (limited to 'net/batman-adv')
-rw-r--r--net/batman-adv/bat_debugfs.c2
-rw-r--r--net/batman-adv/bat_debugfs.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/net/batman-adv/bat_debugfs.c b/net/batman-adv/bat_debugfs.c
index ce84a616fddf..f9af65ea42fc 100644
--- a/net/batman-adv/bat_debugfs.c
+++ b/net/batman-adv/bat_debugfs.c
@@ -311,7 +311,7 @@ void batadv_debugfs_init(void)
311 struct bat_debuginfo *bat_debug; 311 struct bat_debuginfo *bat_debug;
312 struct dentry *file; 312 struct dentry *file;
313 313
314 batadv_debugfs = debugfs_create_dir(DEBUGFS_BAT_SUBDIR, NULL); 314 batadv_debugfs = debugfs_create_dir(BATADV_DEBUGFS_SUBDIR, NULL);
315 if (batadv_debugfs == ERR_PTR(-ENODEV)) 315 if (batadv_debugfs == ERR_PTR(-ENODEV))
316 batadv_debugfs = NULL; 316 batadv_debugfs = NULL;
317 317
diff --git a/net/batman-adv/bat_debugfs.h b/net/batman-adv/bat_debugfs.h
index eb0d576b4f9d..3319e1f21f55 100644
--- a/net/batman-adv/bat_debugfs.h
+++ b/net/batman-adv/bat_debugfs.h
@@ -20,7 +20,7 @@
20#ifndef _NET_BATMAN_ADV_DEBUGFS_H_ 20#ifndef _NET_BATMAN_ADV_DEBUGFS_H_
21#define _NET_BATMAN_ADV_DEBUGFS_H_ 21#define _NET_BATMAN_ADV_DEBUGFS_H_
22 22
23#define DEBUGFS_BAT_SUBDIR "batman_adv" 23#define BATADV_DEBUGFS_SUBDIR "batman_adv"
24 24
25void batadv_debugfs_init(void); 25void batadv_debugfs_init(void);
26void batadv_debugfs_destroy(void); 26void batadv_debugfs_destroy(void);