Skip to content

Commit

Permalink
batman-adv: Prefix debugfs defines with BATADV_
Browse files Browse the repository at this point in the history
Reported-by: Martin Hundebøll <martin@hundeboll.net>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
  • Loading branch information
Sven Eckelmann authored and Antonio Quartulli committed Jun 28, 2012
1 parent 347c80f commit 54590e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion net/batman-adv/bat_debugfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion net/batman-adv/bat_debugfs.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 54590e4

Please sign in to comment.