commit | eafeb7a44aa8f79c992b9d557ede740c739f4b25 | [log] [tgz] |
---|---|---|
author | Stephen Warren <swarren@nvidia.com> | Tue Apr 03 21:53:56 2012 -0600 |
committer | Linus Walleij <linus.walleij@linaro.org> | Wed Apr 18 13:53:10 2012 +0200 |
tree | 23806fb2a28e6152b37ac74ed458de8116438531 | |
parent | 57291ce295c0aca738dd284c4a9c591c09ebee71 [diff] |
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>