tty: Added a CONFIG_TTY option to allow removal of TTY
[firefly-linux-kernel-4.4.55.git] / drivers / input / joystick / Kconfig
index 56eb471b5576954f6119664b23a1d7b83316d3fb..055bcaba774c971d5f1d5473d43b342383925acd 100644 (file)
@@ -132,6 +132,8 @@ config JOYSTICK_TMDC
 
 source "drivers/input/joystick/iforce/Kconfig"
 
+if TTY
+
 config JOYSTICK_WARRIOR
        tristate "Logitech WingMan Warrior joystick"
        select SERIO
@@ -205,6 +207,8 @@ config JOYSTICK_ZHENHUA
          To compile this driver as a module, choose M here: the
          module will be called zhenhua.
 
+endif # TTY
+
 config JOYSTICK_DB9
        tristate "Multisystem, Sega Genesis, Saturn joysticks and gamepads"
        depends on PARPORT