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

Linus Walleij linus.walleij at linaro.org
Mon Dec 9 03:27:44 EST 2013


We had a compilation failure on x86_64 due to missing OF support
as this was an implicit dependency. Add an explicit dependency
on OF 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>
---
 drivers/pinctrl/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig
index 06e057bb3376..138d114d61b8 100644
--- a/drivers/pinctrl/Kconfig
+++ b/drivers/pinctrl/Kconfig
@@ -205,6 +205,7 @@ config PINCTRL_IMX28
 
 config PINCTRL_MSM
 	bool
+	depends on OF
 	select PINMUX
 	select PINCONF
 	select GENERIC_PINCONF
-- 
1.8.3.1




More information about the linux-arm-kernel mailing list