gpio-ts5500: Add dependency
authorJean Delvare <jdelvare@suse.de>
Fri, 14 Feb 2014 10:32:14 +0000 (11:32 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 27 Feb 2014 09:18:58 +0000 (10:18 +0100)
There is no point in displaying the TS5500-specific driver entries if
TS5500 board support itself isn't enabled.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Acked-by: Alexandre Courbot <gnurou@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/Kconfig

index 87bfcaf..3bddd36 100644 (file)
@@ -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