[PATCH] pinctrl: select dependency on OF for MSM driver

From: Linus Walleij
Date: Mon Dec 09 2013 - 09:27:13 EST


We had a compilation failure on x86_64 due to missing OF support
as this was an implicit dependency. Add an explicit selection
of OF and OF_IRQ so we get rid of this build failure.

Cc: Bjorn Andersson <bjorn.andersson@xxxxxxxxxxxxxx>
Signed-off-by: Linus Walleij <linus.walleij@xxxxxxxxxx>
---
ChangeLog v1->v2:
- OK so "depends on OF" did not work here let's try to simply
select OF and OF_IRQ for this then? It's one of those
"warning: (PINCTRL_MSM8X74) selects PINCTRL_MSM which has
unmet direct dependencies (PINCTRL && OF)" that I simply
cannot find my way out of :-/
---
drivers/pinctrl/Kconfig | 2 ++
1 file changed, 2 insertions(+)

diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig
index 06e057bb3376..5d96e502dab2 100644
--- a/drivers/pinctrl/Kconfig
+++ b/drivers/pinctrl/Kconfig
@@ -205,6 +205,8 @@ config PINCTRL_IMX28

config PINCTRL_MSM
bool
+ select OF
+ select OF_IRQ
select PINMUX
select PINCONF
select GENERIC_PINCONF
--
1.8.3.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/