From: Laurent Pinchart Date: Wed, 19 Jun 2013 11:26:02 +0000 (+0200) Subject: sh-pfc: Guard DT parsing with #ifdef CONFIG_OF X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~29^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a8d63d4b4fdfa2563b85b4a6db0119cbdb537d1;p=pandora-kernel.git sh-pfc: Guard DT parsing with #ifdef CONFIG_OF Fix a compilation error caused by pinconf_generic_parse_dt_config() not being defined on !CONFIG_OF platforms by guarding the whole DT node parsing code with #ifdef CONFIG_OF. Defining a pinconf_generic_parse_dt_config() on !CONFIG_OF would have been possible as well, but would have resulted in a larger code size on !CONFIG_OF platforms (such as arch/sh). Signed-off-by: Laurent Pinchart Reviewed-by: Simon Horman Signed-off-by: Linus Walleij --- Reading git-diff-tree failed