From: Julien Grossholtz Date: Fri, 26 Feb 2016 23:06:59 +0000 (-0500) Subject: gpio: ts4800: Add IMX51 dependency X-Git-Tag: v4.13~3445^2~19 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=6dcfd7291bae5ed030bb2b3f69c734f62606ef9b;p=mirror_ubuntu-bionic-kernel.git 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 Signed-off-by: Linus Walleij --- diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index 96ad29de3a3e..366656111d22 100644 --- a/drivers/gpio/Kconfig +++ b/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.