From: Axel Lin Date: Tue, 25 Sep 2012 03:54:36 +0000 (+0800) Subject: memory: emif: Add ifdef CONFIG_DEBUG_FS guard for emif_debugfs_[init|exit] X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~76^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e5445ee6a62329f6eb28b8ebd8ff4c4659ca0209;p=pandora-kernel.git 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 Acked-by : Santosh Shilimkar Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed