linux/drivers/memory
Axel Lin e5445ee6a6 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>
2012-09-26 13:56:03 -07:00
..
emif.c memory: emif: Add ifdef CONFIG_DEBUG_FS guard for emif_debugfs_[init|exit] 2012-09-26 13:56:03 -07:00
emif.h memory: emif: handle frequency and voltage change events 2012-05-02 10:52:09 -07:00
Kconfig ARM: tegra30: Make MC optional in Kconfig 2012-05-11 15:22:56 -07:00
Makefile memory: fix build when CONFIG_OF && !CONFIG_DDR 2012-09-05 11:57:19 -07:00
of_memory.c memory: emif: add device tree support to emif driver 2012-09-04 16:14:31 -07:00
of_memory.h memory: fix build when CONFIG_OF && !CONFIG_DDR 2012-09-05 11:57:19 -07:00
tegra20-mc.c memory: tegra{20,30}-mc: Remove empty *_remove() 2012-05-14 12:52:52 -07:00
tegra30-mc.c memory: tegra{20,30}-mc: Remove empty *_remove() 2012-05-14 12:52:52 -07:00