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

Linus Walleij linus.walleij at linaro.org
Mon Dec 9 09:27:00 EST 2013


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 at sonymobile.com>
Signed-off-by: Linus Walleij <linus.walleij at linaro.org>
---
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




More information about the linux-arm-kernel mailing list