From e5445ee6a62329f6eb28b8ebd8ff4c4659ca0209 Mon Sep 17 00:00:00 2001 From: Axel Lin Date: Tue, 25 Sep 2012 11:54:36 +0800 Subject: [PATCH] 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-format-patch failed