From: Bob Liu Date: Tue, 2 Apr 2013 02:47:42 +0000 (+0800) Subject: drivers: staging: zcache: fix compile error X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~137^2~356 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=555ee46f58c12a0b48b1d0b6b62637f874f00f2d;p=pandora-kernel.git drivers: staging: zcache: fix compile error Because 'ramster_debugfs_init' is not defined if !CONFIG_DEBUG_FS, there is compile error: $ make drivers/staging/zcache/ staging/zcache/ramster/ramster.c: In function ‘ramster_init’: staging/zcache/ramster/ramster.c:981:2: error: implicit declaration of function ‘ramster_debugfs_init’ [-Werror=implicit-function-declaration] This patch fix it and reduce some #ifdef CONFIG_DEBUG_FS in .c files the same way. Reported-by: Fengguang Wu Signed-off-by: Bob Liu Reviewed-by: Konrad Rzeszutek Wilk Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed