From: Martin Blumenstingl Date: Tue, 2 Jul 2019 22:32:48 +0000 (+0200) Subject: gpio: stp-xway: allow compile-testing X-Git-Tag: for-linus-20190715~36^2~2 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=5099837d2f809c75d45efa32595c712ca245a432;p=linux-2.6-block.git gpio: stp-xway: allow compile-testing Enable compile-testing of the stp-xway GPIO driver now that it does not depend on any architecture specific includes anymore. Signed-off-by: Martin Blumenstingl Link: https://lore.kernel.org/r/20190702223248.31934-5-martin.blumenstingl@googlemail.com Signed-off-by: Linus Walleij --- diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index 189f3b794804..063d6f147450 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -489,7 +489,8 @@ config GPIO_STA2X11 config GPIO_STP_XWAY bool "XWAY STP GPIOs" - depends on SOC_XWAY + depends on SOC_XWAY || COMPILE_TEST + depends on OF_GPIO help This enables support for the Serial To Parallel (STP) unit found on XWAY SoC. The STP allows the SoC to drive a shift registers cascade,