diff mbox

pinctrl-msm: Update Kconfig for PINCTRL_MSM8X74

Message ID 1387089873-3922-1-git-send-email-bjorn.andersson@sonymobile.com (mailing list archive)
State Accepted, archived
Headers show

Commit Message

Bjorn Andersson Dec. 15, 2013, 6:44 a.m. UTC
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 <sboyd@codeaurora.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
---
 drivers/pinctrl/Kconfig |    8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

Comments

Linus Walleij Dec. 16, 2013, 9:29 a.m. UTC | #1
On Sun, Dec 15, 2013 at 7:44 AM, Bjorn Andersson
<bjorn.andersson@sonymobile.com> wrote:

> 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 <sboyd@codeaurora.org>
> Signed-off-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>

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
--
To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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"