Commit 54590e4d authored by Sven Eckelmann's avatar Sven Eckelmann Committed by Antonio Quartulli
Browse files

batman-adv: Prefix debugfs defines with BATADV_

parent 347c80f0
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -311,7 +311,7 @@ void batadv_debugfs_init(void)
	struct bat_debuginfo *bat_debug;
	struct bat_debuginfo *bat_debug;
	struct dentry *file;
	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))
	if (batadv_debugfs == ERR_PTR(-ENODEV))
		batadv_debugfs = NULL;
		batadv_debugfs = NULL;


+1 −1
Original line number Original line Diff line number Diff line
@@ -20,7 +20,7 @@
#ifndef _NET_BATMAN_ADV_DEBUGFS_H_
#ifndef _NET_BATMAN_ADV_DEBUGFS_H_
#define _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_init(void);
void batadv_debugfs_destroy(void);
void batadv_debugfs_destroy(void);