]> git.karo-electronics.de Git - linux-beck.git/commit
pinctrl: fix build when CONFIG_OF && !CONFIG_PINCTRL
authorStephen Warren <swarren@nvidia.com>
Wed, 4 Apr 2012 03:53:56 +0000 (21:53 -0600)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 18 Apr 2012 11:53:10 +0000 (13:53 +0200)
commiteafeb7a44aa8f79c992b9d557ede740c739f4b25
tree23806fb2a28e6152b37ac74ed458de8116438531
parent57291ce295c0aca738dd284c4a9c591c09ebee71
pinctrl: fix build when CONFIG_OF && !CONFIG_PINCTRL

pinctrl/devicetree.c won't compile when !CONFIG_PINCTRL, since the
pinctrl headers don't declare some types when !PINCTRL. Make sure
pinctrl/Makefile only attempts to compile devicetree.c when OF &&
PINCTRL.

Acked-by: Dong Aisheng <dong.aisheng@linaro.org>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/Makefile