浏览代码

batman-adv: Prefix debugfs defines with BATADV_

Reported-by: Martin Hundebøll <martin@hundeboll.net>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Sven Eckelmann 13 年之前
父节点
当前提交
54590e4d4b
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      net/batman-adv/bat_debugfs.c
  2. 1 1
      net/batman-adv/bat_debugfs.h

+ 1 - 1
net/batman-adv/bat_debugfs.c

@@ -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;
 

+ 1 - 1
net/batman-adv/bat_debugfs.h

@@ -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);