diff mbox

pinctrl: select dependency on OF for MSM driver

Message ID 1386599220-29474-1-git-send-email-linus.walleij@linaro.org
State New
Headers show

Commit Message

Linus Walleij Dec. 9, 2013, 2:27 p.m. UTC
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@sonymobile.com>
Signed-off-by: Linus Walleij <linus.walleij@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 mbox

Patch

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