diff options
author | Axel Lin <axel.lin@ingics.com> | 2012-09-25 05:54:36 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-26 22:56:03 +0200 |
commit | e5445ee6a62329f6eb28b8ebd8ff4c4659ca0209 (patch) | |
tree | d4c5166d5506c0051dc9b9e98ccde212a26d20a6 /init | |
parent | Documentation: Fixes some translation error in Documentation/zh_CN/gpio.txt (diff) | |
download | linux-e5445ee6a62329f6eb28b8ebd8ff4c4659ca0209.tar.xz linux-e5445ee6a62329f6eb28b8ebd8ff4c4659ca0209.zip |
memory: emif: Add ifdef CONFIG_DEBUG_FS guard for emif_debugfs_[init|exit]
Add ifdef CONFIG_DEBUG_FS guard for emif_debugfs_[init|exit], and adds stub
functions for the case CONFIG_DEBUG_FS is not set.
When CONFIG_DEBUG_FS is enabled, debugfs_create_dir and debugfs_create_file
return NULL on failure, fix it.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by : Santosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions