From: Laurent Pinchart Date: Tue, 18 Jun 2013 10:29:49 +0000 (+0200) Subject: gpio-rcar: Remove #ifdef CONFIG_OF around OF-specific sections X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~68^2~1^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e305062e94719ef543ae936dd56501b5a36406c6;p=pandora-kernel.git gpio-rcar: Remove #ifdef CONFIG_OF around OF-specific sections All functions and data types used by OF-specific code paths are declared in regardless of CONFIG_OF. Replace the #ifdef CONFIG_OF guard with a if(IS_ENABLED(CONFIG_OF)) and let the compiler optimize the unused code away. Signed-off-by: Laurent Pinchart Signed-off-by: Simon Horman --- Reading git-diff-tree failed