diff options
author | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | 2013-06-19 13:26:02 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-06-24 11:34:11 +0200 |
commit | 3a8d63d4b4fdfa2563b85b4a6db0119cbdb537d1 (patch) | |
tree | fae57168c624e77fa256c84576c304e429ffa91d /drivers/video/s3c2410fb.h | |
parent | a5d811bbf1c6df86cfe23948059ea614554b9f19 (diff) | |
download | blackbird-op-linux-3a8d63d4b4fdfa2563b85b4a6db0119cbdb537d1.tar.gz blackbird-op-linux-3a8d63d4b4fdfa2563b85b4a6db0119cbdb537d1.zip |
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 <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/video/s3c2410fb.h')
0 files changed, 0 insertions, 0 deletions