summaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/class/Kconfig2
-rw-r--r--drivers/usb/gadget/Kconfig6
-rw-r--r--drivers/usb/serial/Kconfig2
3 files changed, 8 insertions, 2 deletions
diff --git a/drivers/usb/class/Kconfig b/drivers/usb/class/Kconfig
index 2519e320098f..316aac8e4ca1 100644
--- a/drivers/usb/class/Kconfig
+++ b/drivers/usb/class/Kconfig
@@ -6,7 +6,7 @@ comment "USB Device Class drivers"
6 6
7config USB_ACM 7config USB_ACM
8 tristate "USB Modem (CDC ACM) support" 8 tristate "USB Modem (CDC ACM) support"
9 depends on USB 9 depends on USB && TTY
10 ---help--- 10 ---help---
11 This driver supports USB modems and ISDN adapters which support the 11 This driver supports USB modems and ISDN adapters which support the
12 Communication Device Class Abstract Control Model interface. 12 Communication Device Class Abstract Control Model interface.
diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig
index 14625fd2cecd..a1bd951f9cb7 100644
--- a/drivers/usb/gadget/Kconfig
+++ b/drivers/usb/gadget/Kconfig
@@ -750,6 +750,7 @@ config USB_GADGET_TARGET
750 750
751config USB_G_SERIAL 751config USB_G_SERIAL
752 tristate "Serial Gadget (with CDC ACM and CDC OBEX support)" 752 tristate "Serial Gadget (with CDC ACM and CDC OBEX support)"
753 depends on TTY
753 select USB_LIBCOMPOSITE 754 select USB_LIBCOMPOSITE
754 help 755 help
755 The Serial Gadget talks to the Linux-USB generic serial driver. 756 The Serial Gadget talks to the Linux-USB generic serial driver.
@@ -799,6 +800,8 @@ config USB_G_PRINTER
799 For more information, see Documentation/usb/gadget_printer.txt 800 For more information, see Documentation/usb/gadget_printer.txt
800 which includes sample code for accessing the device file. 801 which includes sample code for accessing the device file.
801 802
803if TTY
804
802config USB_CDC_COMPOSITE 805config USB_CDC_COMPOSITE
803 tristate "CDC Composite Device (Ethernet and ACM)" 806 tristate "CDC Composite Device (Ethernet and ACM)"
804 depends on NET 807 depends on NET
@@ -879,6 +882,8 @@ config USB_G_MULTI_CDC
879 882
880 If unsure, say "y". 883 If unsure, say "y".
881 884
885endif # TTY
886
882config USB_G_HID 887config USB_G_HID
883 tristate "HID Gadget" 888 tristate "HID Gadget"
884 select USB_LIBCOMPOSITE 889 select USB_LIBCOMPOSITE
@@ -895,6 +900,7 @@ config USB_G_HID
895# Standalone / single function gadgets 900# Standalone / single function gadgets
896config USB_G_DBGP 901config USB_G_DBGP
897 tristate "EHCI Debug Device Gadget" 902 tristate "EHCI Debug Device Gadget"
903 depends on TTY
898 select USB_LIBCOMPOSITE 904 select USB_LIBCOMPOSITE
899 help 905 help
900 This gadget emulates an EHCI Debug device. This is useful when you want 906 This gadget emulates an EHCI Debug device. This is useful when you want
diff --git a/drivers/usb/serial/Kconfig b/drivers/usb/serial/Kconfig
index 76f462241738..d8e35fe30b0c 100644
--- a/drivers/usb/serial/Kconfig
+++ b/drivers/usb/serial/Kconfig
@@ -4,7 +4,7 @@
4 4
5menuconfig USB_SERIAL 5menuconfig USB_SERIAL
6 tristate "USB Serial Converter support" 6 tristate "USB Serial Converter support"
7 depends on USB 7 depends on USB && TTY
8 ---help--- 8 ---help---
9 Say Y here if you have a USB device that provides normal serial 9 Say Y here if you have a USB device that provides normal serial
10 ports, or acts like a serial device, and you want to connect it to 10 ports, or acts like a serial device, and you want to connect it to