Sfoglia il codice sorgente

gpio: ts4800: Add IMX51 dependency

The TS-4800 is an i.MX515 board. Its GPIO driver should only be compiled
for this CPU or for test builds.

Signed-off-by: Julien Grossholtz <julien.grossholtz@savoirfairelinux.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Julien Grossholtz 9 anni fa
parent
commit
6dcfd7291b
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      drivers/gpio/Kconfig

+ 1 - 0
drivers/gpio/Kconfig

@@ -395,6 +395,7 @@ config GPIO_TB10X
 config GPIO_TS4800
 	tristate "TS-4800 DIO blocks and compatibles"
 	depends on OF_GPIO
+	depends on SOC_IMX51 || COMPILE_TEST
 	select GPIO_GENERIC
 	help
 	  This driver support TS-4800 FPGA GPIO controllers.