Add a dependency on the ARM64 Seatle SoC or generic x86 so we're not
prompted if we enable pinctrl for another platform.

Signed-off-by: Peter Robinson <pbrobin...@gmail.com>
---
 drivers/pinctrl/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig
index 312c78b..e02d1d4 100644
--- a/drivers/pinctrl/Kconfig
+++ b/drivers/pinctrl/Kconfig
@@ -80,7 +80,7 @@ config PINCTRL_AT91PIO4
 
 config PINCTRL_AMD
        bool "AMD GPIO pin control"
-       depends on GPIOLIB
+       depends on GPIOLIB && (ARCH_SEATTLE || X86_GENERIC || COMPILE_TEST)
        select GPIOLIB_IRQCHIP
        select PINCONF
        select GENERIC_PINCONF
-- 
2.5.0

--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to