浏览代码

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 <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>
Jean Delvare 11 年之前
父节点
当前提交
f29b9d13dd
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      drivers/gpio/Kconfig

+ 1 - 0
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