diff options
| author | Arnd Bergmann <arnd@arndb.de> | 2012-07-11 12:50:20 +0200 | 
|---|---|---|
| committer | Arnd Bergmann <arnd@arndb.de> | 2012-07-11 12:50:20 +0200 | 
| commit | 0dc19510430b20b3b2d6d1b9b796fd42fa2af64a (patch) | |
| tree | a512cf400d74d72272ce6cf5c4d782538213d433 /drivers/mtd/ubi/debug.c | |
| parent | b52a2c472d7fcf215e31dffdd382651e1b99f138 (diff) | |
| parent | bd0a521e88aa7a06ae7aabaed7ae196ed4ad867a (diff) | |
| download | olio-linux-3.10-0dc19510430b20b3b2d6d1b9b796fd42fa2af64a.tar.xz olio-linux-3.10-0dc19510430b20b3b2d6d1b9b796fd42fa2af64a.zip  | |
Merge tag 'v3.5-rc6' into next/soc
Linux 3.5-rc6
Dependency for imx/soc changes
Diffstat (limited to 'drivers/mtd/ubi/debug.c')
| -rw-r--r-- | drivers/mtd/ubi/debug.c | 8 | 
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/mtd/ubi/debug.c b/drivers/mtd/ubi/debug.c index 09d4f8d9d59..7c138030521 100644 --- a/drivers/mtd/ubi/debug.c +++ b/drivers/mtd/ubi/debug.c @@ -264,7 +264,7 @@ static struct dentry *dfs_rootdir;   */  int ubi_debugfs_init(void)  { -	if (!IS_ENABLED(DEBUG_FS)) +	if (!IS_ENABLED(CONFIG_DEBUG_FS))  		return 0;  	dfs_rootdir = debugfs_create_dir("ubi", NULL); @@ -284,7 +284,7 @@ int ubi_debugfs_init(void)   */  void ubi_debugfs_exit(void)  { -	if (IS_ENABLED(DEBUG_FS)) +	if (IS_ENABLED(CONFIG_DEBUG_FS))  		debugfs_remove(dfs_rootdir);  } @@ -407,7 +407,7 @@ int ubi_debugfs_init_dev(struct ubi_device *ubi)  	struct dentry *dent;  	struct ubi_debug_info *d = ubi->dbg; -	if (!IS_ENABLED(DEBUG_FS)) +	if (!IS_ENABLED(CONFIG_DEBUG_FS))  		return 0;  	n = snprintf(d->dfs_dir_name, UBI_DFS_DIR_LEN + 1, UBI_DFS_DIR_NAME, @@ -477,6 +477,6 @@ out:   */  void ubi_debugfs_exit_dev(struct ubi_device *ubi)  { -	if (IS_ENABLED(DEBUG_FS)) +	if (IS_ENABLED(CONFIG_DEBUG_FS))  		debugfs_remove_recursive(ubi->dbg->dfs_dir);  }  |