From f29b9d13ddb32f84f33197042ca187c531cfda7a Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Fri, 14 Feb 2014 11:32:14 +0100 Subject: [PATCH] gpio-ts5500: Add dependency There is no point in displaying the TS5500-specific driver entries if TS5500 board support itself isn't enabled. Signed-off-by: Jean Delvare Cc: Linus Walleij Cc: Vivien Didelot Acked-by: Alexandre Courbot Signed-off-by: Linus Walleij --- drivers/gpio/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index 87bfcaf2378f..3bddd36d2d12 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -277,6 +277,7 @@ config GPIO_STA2X11 config GPIO_TS5500 tristate "TS-5500 DIO blocks and compatibles" + depends on TS5500 || COMPILE_TEST help This driver supports Digital I/O exposed by pin blocks found on some Technologic Systems platforms. It includes, but is not limited to, 3