diff options
author | Joe Millenbach <jmillenbach@gmail.com> | 2013-02-05 20:58:34 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-02-06 14:10:49 -0500 |
commit | 238d9f6e551d87bd6fbcfa3069592dfb407937fb (patch) | |
tree | 710c95f90334e502b42b8b4e6c4b58530777ca78 /drivers/input | |
parent | a8cd98586b1f9e3b5dd7e141bcfe8f078fbb39ed (diff) |
input: drop unnecessary dependencies on TTY
Backing out changes made in earlier TTY removal patch. Switched
to only one dependency in SERPORT on TTY instead of many incorrect
dependencies.
Signed-off-by: Joe Millenbach <jmillenbach@gmail.com>
Reported-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/input')
-rw-r--r-- | drivers/input/joystick/Kconfig | 4 | ||||
-rw-r--r-- | drivers/input/keyboard/Kconfig | 10 | ||||
-rw-r--r-- | drivers/input/mouse/Kconfig | 3 | ||||
-rw-r--r-- | drivers/input/serio/Kconfig | 2 | ||||
-rw-r--r-- | drivers/input/touchscreen/Kconfig | 22 |
5 files changed, 2 insertions, 39 deletions
diff --git a/drivers/input/joystick/Kconfig b/drivers/input/joystick/Kconfig index 055bcaba774c..56eb471b5576 100644 --- a/drivers/input/joystick/Kconfig +++ b/drivers/input/joystick/Kconfig | |||
@@ -132,8 +132,6 @@ config JOYSTICK_TMDC | |||
132 | 132 | ||
133 | source "drivers/input/joystick/iforce/Kconfig" | 133 | source "drivers/input/joystick/iforce/Kconfig" |
134 | 134 | ||
135 | if TTY | ||
136 | |||
137 | config JOYSTICK_WARRIOR | 135 | config JOYSTICK_WARRIOR |
138 | tristate "Logitech WingMan Warrior joystick" | 136 | tristate "Logitech WingMan Warrior joystick" |
139 | select SERIO | 137 | select SERIO |
@@ -207,8 +205,6 @@ config JOYSTICK_ZHENHUA | |||
207 | To compile this driver as a module, choose M here: the | 205 | To compile this driver as a module, choose M here: the |
208 | module will be called zhenhua. | 206 | module will be called zhenhua. |
209 | 207 | ||
210 | endif # TTY | ||
211 | |||
212 | config JOYSTICK_DB9 | 208 | config JOYSTICK_DB9 |
213 | tristate "Multisystem, Sega Genesis, Saturn joysticks and gamepads" | 209 | tristate "Multisystem, Sega Genesis, Saturn joysticks and gamepads" |
214 | depends on PARPORT | 210 | depends on PARPORT |
diff --git a/drivers/input/keyboard/Kconfig b/drivers/input/keyboard/Kconfig index 008f96aaf19e..5a240c60342d 100644 --- a/drivers/input/keyboard/Kconfig +++ b/drivers/input/keyboard/Kconfig | |||
@@ -69,7 +69,6 @@ config KEYBOARD_ATARI | |||
69 | config KEYBOARD_ATKBD | 69 | config KEYBOARD_ATKBD |
70 | tristate "AT keyboard" if EXPERT || !X86 | 70 | tristate "AT keyboard" if EXPERT || !X86 |
71 | default y | 71 | default y |
72 | depends on TTY | ||
73 | select SERIO | 72 | select SERIO |
74 | select SERIO_LIBPS2 | 73 | select SERIO_LIBPS2 |
75 | select SERIO_I8042 if X86 | 74 | select SERIO_I8042 if X86 |
@@ -154,7 +153,6 @@ config KEYBOARD_BFIN | |||
154 | 153 | ||
155 | config KEYBOARD_LKKBD | 154 | config KEYBOARD_LKKBD |
156 | tristate "DECstation/VAXstation LK201/LK401 keyboard" | 155 | tristate "DECstation/VAXstation LK201/LK401 keyboard" |
157 | depends on TTY | ||
158 | select SERIO | 156 | select SERIO |
159 | help | 157 | help |
160 | Say Y here if you want to use a LK201 or LK401 style serial | 158 | Say Y here if you want to use a LK201 or LK401 style serial |
@@ -270,7 +268,7 @@ config KEYBOARD_HIL_OLD | |||
270 | 268 | ||
271 | config KEYBOARD_HIL | 269 | config KEYBOARD_HIL |
272 | tristate "HP HIL keyboard/pointer support" | 270 | tristate "HP HIL keyboard/pointer support" |
273 | depends on (GSC || HP300) && TTY | 271 | depends on GSC || HP300 |
274 | default y | 272 | default y |
275 | select HP_SDC | 273 | select HP_SDC |
276 | select HIL_MLC | 274 | select HIL_MLC |
@@ -402,7 +400,6 @@ config KEYBOARD_IMX | |||
402 | 400 | ||
403 | config KEYBOARD_NEWTON | 401 | config KEYBOARD_NEWTON |
404 | tristate "Newton keyboard" | 402 | tristate "Newton keyboard" |
405 | depends on TTY | ||
406 | select SERIO | 403 | select SERIO |
407 | help | 404 | help |
408 | Say Y here if you have a Newton keyboard on a serial port. | 405 | Say Y here if you have a Newton keyboard on a serial port. |
@@ -482,8 +479,6 @@ config KEYBOARD_SAMSUNG | |||
482 | To compile this driver as a module, choose M here: the | 479 | To compile this driver as a module, choose M here: the |
483 | module will be called samsung-keypad. | 480 | module will be called samsung-keypad. |
484 | 481 | ||
485 | if TTY | ||
486 | |||
487 | config KEYBOARD_STOWAWAY | 482 | config KEYBOARD_STOWAWAY |
488 | tristate "Stowaway keyboard" | 483 | tristate "Stowaway keyboard" |
489 | select SERIO | 484 | select SERIO |
@@ -506,8 +501,6 @@ config KEYBOARD_SUNKBD | |||
506 | To compile this driver as a module, choose M here: the | 501 | To compile this driver as a module, choose M here: the |
507 | module will be called sunkbd. | 502 | module will be called sunkbd. |
508 | 503 | ||
509 | endif # TTY | ||
510 | |||
511 | config KEYBOARD_SH_KEYSC | 504 | config KEYBOARD_SH_KEYSC |
512 | tristate "SuperH KEYSC keypad support" | 505 | tristate "SuperH KEYSC keypad support" |
513 | depends on SUPERH || ARCH_SHMOBILE | 506 | depends on SUPERH || ARCH_SHMOBILE |
@@ -604,7 +597,6 @@ config KEYBOARD_TWL4030 | |||
604 | 597 | ||
605 | config KEYBOARD_XTKBD | 598 | config KEYBOARD_XTKBD |
606 | tristate "XT keyboard" | 599 | tristate "XT keyboard" |
607 | depends on TTY | ||
608 | select SERIO | 600 | select SERIO |
609 | help | 601 | help |
610 | Say Y here if you want to use the old IBM PC/XT keyboard (or | 602 | Say Y here if you want to use the old IBM PC/XT keyboard (or |
diff --git a/drivers/input/mouse/Kconfig b/drivers/input/mouse/Kconfig index fc160f72dc4e..cd6268cf7cd5 100644 --- a/drivers/input/mouse/Kconfig +++ b/drivers/input/mouse/Kconfig | |||
@@ -14,7 +14,6 @@ if INPUT_MOUSE | |||
14 | 14 | ||
15 | config MOUSE_PS2 | 15 | config MOUSE_PS2 |
16 | tristate "PS/2 mouse" | 16 | tristate "PS/2 mouse" |
17 | depends on TTY | ||
18 | default y | 17 | default y |
19 | select SERIO | 18 | select SERIO |
20 | select SERIO_LIBPS2 | 19 | select SERIO_LIBPS2 |
@@ -139,7 +138,6 @@ config MOUSE_PS2_OLPC | |||
139 | 138 | ||
140 | config MOUSE_SERIAL | 139 | config MOUSE_SERIAL |
141 | tristate "Serial mouse" | 140 | tristate "Serial mouse" |
142 | depends on TTY | ||
143 | select SERIO | 141 | select SERIO |
144 | help | 142 | help |
145 | Say Y here if you have a serial (RS-232, COM port) mouse connected | 143 | Say Y here if you have a serial (RS-232, COM port) mouse connected |
@@ -264,7 +262,6 @@ config MOUSE_RISCPC | |||
264 | 262 | ||
265 | config MOUSE_VSXXXAA | 263 | config MOUSE_VSXXXAA |
266 | tristate "DEC VSXXX-AA/GA mouse and VSXXX-AB tablet" | 264 | tristate "DEC VSXXX-AA/GA mouse and VSXXX-AB tablet" |
267 | depends on TTY | ||
268 | select SERIO | 265 | select SERIO |
269 | help | 266 | help |
270 | Say Y (or M) if you want to use a DEC VSXXX-AA (hockey | 267 | Say Y (or M) if you want to use a DEC VSXXX-AA (hockey |
diff --git a/drivers/input/serio/Kconfig b/drivers/input/serio/Kconfig index 81ee7551148e..fe4e4953d5f5 100644 --- a/drivers/input/serio/Kconfig +++ b/drivers/input/serio/Kconfig | |||
@@ -4,7 +4,6 @@ | |||
4 | config SERIO | 4 | config SERIO |
5 | tristate "Serial I/O support" if EXPERT || !X86 | 5 | tristate "Serial I/O support" if EXPERT || !X86 |
6 | default y | 6 | default y |
7 | depends on TTY | ||
8 | help | 7 | help |
9 | Say Yes here if you have any input device that uses serial I/O to | 8 | Say Yes here if you have any input device that uses serial I/O to |
10 | communicate with the system. This includes the | 9 | communicate with the system. This includes the |
@@ -37,6 +36,7 @@ config SERIO_I8042 | |||
37 | config SERIO_SERPORT | 36 | config SERIO_SERPORT |
38 | tristate "Serial port line discipline" | 37 | tristate "Serial port line discipline" |
39 | default y | 38 | default y |
39 | depends on TTY | ||
40 | help | 40 | help |
41 | Say Y here if you plan to use an input device (mouse, joystick, | 41 | Say Y here if you plan to use an input device (mouse, joystick, |
42 | tablet, 6dof) that communicates over the RS232 serial (COM) port. | 42 | tablet, 6dof) that communicates over the RS232 serial (COM) port. |
diff --git a/drivers/input/touchscreen/Kconfig b/drivers/input/touchscreen/Kconfig index 3d6f548dd3d4..515cfe790543 100644 --- a/drivers/input/touchscreen/Kconfig +++ b/drivers/input/touchscreen/Kconfig | |||
@@ -192,8 +192,6 @@ config TOUCHSCREEN_DA9052 | |||
192 | To compile this driver as a module, choose M here: the | 192 | To compile this driver as a module, choose M here: the |
193 | module will be called da9052_tsi. | 193 | module will be called da9052_tsi. |
194 | 194 | ||
195 | if TTY | ||
196 | |||
197 | config TOUCHSCREEN_DYNAPRO | 195 | config TOUCHSCREEN_DYNAPRO |
198 | tristate "Dynapro serial touchscreen" | 196 | tristate "Dynapro serial touchscreen" |
199 | select SERIO | 197 | select SERIO |
@@ -218,8 +216,6 @@ config TOUCHSCREEN_HAMPSHIRE | |||
218 | To compile this driver as a module, choose M here: the | 216 | To compile this driver as a module, choose M here: the |
219 | module will be called hampshire. | 217 | module will be called hampshire. |
220 | 218 | ||
221 | endif # TTY | ||
222 | |||
223 | config TOUCHSCREEN_EETI | 219 | config TOUCHSCREEN_EETI |
224 | tristate "EETI touchscreen panel support" | 220 | tristate "EETI touchscreen panel support" |
225 | depends on I2C | 221 | depends on I2C |
@@ -241,7 +237,6 @@ config TOUCHSCREEN_EGALAX | |||
241 | 237 | ||
242 | config TOUCHSCREEN_FUJITSU | 238 | config TOUCHSCREEN_FUJITSU |
243 | tristate "Fujitsu serial touchscreen" | 239 | tristate "Fujitsu serial touchscreen" |
244 | depends on TTY | ||
245 | select SERIO | 240 | select SERIO |
246 | help | 241 | help |
247 | Say Y here if you have the Fujitsu touchscreen (such as one | 242 | Say Y here if you have the Fujitsu touchscreen (such as one |
@@ -280,8 +275,6 @@ config TOUCHSCREEN_S3C2410 | |||
280 | To compile this driver as a module, choose M here: the | 275 | To compile this driver as a module, choose M here: the |
281 | module will be called s3c2410_ts. | 276 | module will be called s3c2410_ts. |
282 | 277 | ||
283 | if TTY | ||
284 | |||
285 | config TOUCHSCREEN_GUNZE | 278 | config TOUCHSCREEN_GUNZE |
286 | tristate "Gunze AHL-51S touchscreen" | 279 | tristate "Gunze AHL-51S touchscreen" |
287 | select SERIO | 280 | select SERIO |
@@ -318,8 +311,6 @@ config TOUCHSCREEN_WACOM_W8001 | |||
318 | To compile this driver as a module, choose M here: the | 311 | To compile this driver as a module, choose M here: the |
319 | module will be called wacom_w8001. | 312 | module will be called wacom_w8001. |
320 | 313 | ||
321 | endif # TTY | ||
322 | |||
323 | config TOUCHSCREEN_WACOM_I2C | 314 | config TOUCHSCREEN_WACOM_I2C |
324 | tristate "Wacom Tablet support (I2C)" | 315 | tristate "Wacom Tablet support (I2C)" |
325 | depends on I2C | 316 | depends on I2C |
@@ -378,8 +369,6 @@ config TOUCHSCREEN_MMS114 | |||
378 | To compile this driver as a module, choose M here: the | 369 | To compile this driver as a module, choose M here: the |
379 | module will be called mms114. | 370 | module will be called mms114. |
380 | 371 | ||
381 | if TTY | ||
382 | |||
383 | config TOUCHSCREEN_MTOUCH | 372 | config TOUCHSCREEN_MTOUCH |
384 | tristate "MicroTouch serial touchscreens" | 373 | tristate "MicroTouch serial touchscreens" |
385 | select SERIO | 374 | select SERIO |
@@ -404,8 +393,6 @@ config TOUCHSCREEN_INEXIO | |||
404 | To compile this driver as a module, choose M here: the | 393 | To compile this driver as a module, choose M here: the |
405 | module will be called inexio. | 394 | module will be called inexio. |
406 | 395 | ||
407 | endif # TTY | ||
408 | |||
409 | config TOUCHSCREEN_INTEL_MID | 396 | config TOUCHSCREEN_INTEL_MID |
410 | tristate "Intel MID platform resistive touchscreen" | 397 | tristate "Intel MID platform resistive touchscreen" |
411 | depends on INTEL_SCU_IPC | 398 | depends on INTEL_SCU_IPC |
@@ -463,7 +450,6 @@ config TOUCHSCREEN_HTCPEN | |||
463 | 450 | ||
464 | config TOUCHSCREEN_PENMOUNT | 451 | config TOUCHSCREEN_PENMOUNT |
465 | tristate "Penmount serial touchscreen" | 452 | tristate "Penmount serial touchscreen" |
466 | depends on TTY | ||
467 | select SERIO | 453 | select SERIO |
468 | help | 454 | help |
469 | Say Y here if you have a Penmount serial touchscreen connected to | 455 | Say Y here if you have a Penmount serial touchscreen connected to |
@@ -507,8 +493,6 @@ config TOUCHSCREEN_TNETV107X | |||
507 | To compile this driver as a module, choose M here: the | 493 | To compile this driver as a module, choose M here: the |
508 | module will be called tnetv107x-ts. | 494 | module will be called tnetv107x-ts. |
509 | 495 | ||
510 | if TTY | ||
511 | |||
512 | config TOUCHSCREEN_TOUCHRIGHT | 496 | config TOUCHSCREEN_TOUCHRIGHT |
513 | tristate "Touchright serial touchscreen" | 497 | tristate "Touchright serial touchscreen" |
514 | select SERIO | 498 | select SERIO |
@@ -533,8 +517,6 @@ config TOUCHSCREEN_TOUCHWIN | |||
533 | To compile this driver as a module, choose M here: the | 517 | To compile this driver as a module, choose M here: the |
534 | module will be called touchwin. | 518 | module will be called touchwin. |
535 | 519 | ||
536 | endif # TTY | ||
537 | |||
538 | config TOUCHSCREEN_TI_AM335X_TSC | 520 | config TOUCHSCREEN_TI_AM335X_TSC |
539 | tristate "TI Touchscreen Interface" | 521 | tristate "TI Touchscreen Interface" |
540 | depends on MFD_TI_AM335X_TSCADC | 522 | depends on MFD_TI_AM335X_TSCADC |
@@ -808,8 +790,6 @@ config TOUCHSCREEN_USB_EASYTOUCH | |||
808 | Say Y here if you have an EasyTouch USB Touch controller. | 790 | Say Y here if you have an EasyTouch USB Touch controller. |
809 | If unsure, say N. | 791 | If unsure, say N. |
810 | 792 | ||
811 | if TTY | ||
812 | |||
813 | config TOUCHSCREEN_TOUCHIT213 | 793 | config TOUCHSCREEN_TOUCHIT213 |
814 | tristate "Sahara TouchIT-213 touchscreen" | 794 | tristate "Sahara TouchIT-213 touchscreen" |
815 | select SERIO | 795 | select SERIO |
@@ -833,8 +813,6 @@ config TOUCHSCREEN_TSC_SERIO | |||
833 | To compile this driver as a module, choose M here: the | 813 | To compile this driver as a module, choose M here: the |
834 | module will be called tsc40. | 814 | module will be called tsc40. |
835 | 815 | ||
836 | endif # TTY | ||
837 | |||
838 | config TOUCHSCREEN_TSC2005 | 816 | config TOUCHSCREEN_TSC2005 |
839 | tristate "TSC2005 based touchscreens" | 817 | tristate "TSC2005 based touchscreens" |
840 | depends on SPI_MASTER && GENERIC_HARDIRQS | 818 | depends on SPI_MASTER && GENERIC_HARDIRQS |