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.

Cc: Stephen Boyd <[email protected]>
Signed-off-by: Bjorn Andersson <[email protected]>
---
 drivers/pinctrl/Kconfig |    8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig
index 31c6c4a..be301a8 100644
--- a/drivers/pinctrl/Kconfig
+++ b/drivers/pinctrl/Kconfig
@@ -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"
-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to