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 ce84a616fddfa303ff881e4a2ef690630a73370a..f9af65ea42fc51e9a2e9e110d4130463d4dfca17 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 eb0d576b4f9d3aee95df6f2218f6ee81d40aebb2..3319e1f21f555f8d044d96a79cb14adf83772a46 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);