OSDN Git Service

batman-adv: Prefix debugfs defines with BATADV_
authorSven Eckelmann <sven@narfation.org>
Sun, 3 Jun 2012 20:19:08 +0000 (22:19 +0200)
committerAntonio Quartulli <ordex@autistici.org>
Thu, 28 Jun 2012 06:44:54 +0000 (08:44 +0200)
Reported-by: Martin Hundebøll <martin@hundeboll.net>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
net/batman-adv/bat_debugfs.c
net/batman-adv/bat_debugfs.h

index ce84a61..f9af65e 100644 (file)
@@ -311,7 +311,7 @@ void batadv_debugfs_init(void)
        struct bat_debuginfo *bat_debug;
        struct dentry *file;
 
-       batadv_debugfs = debugfs_create_dir(DEBUGFS_BAT_SUBDIR, NULL);
+       batadv_debugfs = debugfs_create_dir(BATADV_DEBUGFS_SUBDIR, NULL);
        if (batadv_debugfs == ERR_PTR(-ENODEV))
                batadv_debugfs = NULL;
 
index eb0d576..3319e1f 100644 (file)
@@ -20,7 +20,7 @@
 #ifndef _NET_BATMAN_ADV_DEBUGFS_H_
 #define _NET_BATMAN_ADV_DEBUGFS_H_
 
-#define DEBUGFS_BAT_SUBDIR "batman_adv"
+#define BATADV_DEBUGFS_SUBDIR "batman_adv"
 
 void batadv_debugfs_init(void);
 void batadv_debugfs_destroy(void);