Skip to contentSkip to conversation

pinctrl-msm: Update Kconfig for PINCTRL_MSM8X74

PATCH In review Bjorn Andersson 2 participants 2 messages Dec 15, 2013 – Dec 16, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pinctrl-msm: Update Kconfig for PINCTRL_MSM8X74

Add GPIOLIB and OF as dependencies for PINCTRL_MSM8X74, to fix build errors from i386-randconfig.
Also add help text and make the entries tristate, while touching these entries.

---
 drivers/pinctrl/Kconfig |    8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
drivers/pinctrl/Kconfig +6 -2
index 31c6c4a..be301a8 100644
@@ -203,14 +203,18 @@ config PINCTRL_IMX28
 	select PINCTRL_MXS
 
 config PINCTRL_MSM
-	bool
+	tristate
 	select PINMUX
 	select PINCONF
 	select GENERIC_PINCONF
 
 config PINCTRL_MSM8X74
-	bool "Qualcomm 8x74 pin controller driver"
+	tristate "Qualcomm 8x74 pin controller driver"
+	depends on GPIOLIB && OF
 	select PINCTRL_MSM
+	help
+	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the Qualcomm
+	  TLMM block found in the Qualcomm 8974 platform.
 
 config PINCTRL_NOMADIK
 	bool "Nomadik pin controller driver"
Signature · 1 line
1.7.9.5
#1 lore raw
Quoted 7 lines · Bjorn Andersson

Add GPIOLIB and OF as dependencies for PINCTRL_MSM8X74, to fix build errors from i386-randconfig.
Also add help text and make the entries tristate, while touching these entries.

This didn't apply correctly as I had already made a fix to depend on OF and OF_IRQ but I rebased this on top of that and applied, check it in my tree or linux-next.

Yours,
Linus Walleij