]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
gpio: ts4800: Add IMX51 dependency
authorJulien Grossholtz <julien.grossholtz@savoirfairelinux.com>
Fri, 26 Feb 2016 23:06:59 +0000 (18:06 -0500)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 8 Mar 2016 08:28:08 +0000 (15:28 +0700)
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>
drivers/gpio/Kconfig

index 96ad29de3a3edeb4b408bbca78b3be061686e6eb..366656111d225ee9d73cafae6eb5e0ab5c2afb91 100644 (file)
@@ -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.