diff options
Diffstat (limited to 'drivers/usb/gadget/Kconfig')
| -rw-r--r-- | drivers/usb/gadget/Kconfig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig index c5c6fa60910d..5a0c541daf89 100644 --- a/drivers/usb/gadget/Kconfig +++ b/drivers/usb/gadget/Kconfig | |||
| @@ -762,6 +762,7 @@ config USB_GADGET_TARGET | |||
| 762 | 762 | ||
| 763 | config USB_G_SERIAL | 763 | config USB_G_SERIAL |
| 764 | tristate "Serial Gadget (with CDC ACM and CDC OBEX support)" | 764 | tristate "Serial Gadget (with CDC ACM and CDC OBEX support)" |
| 765 | depends on TTY | ||
| 765 | select USB_U_SERIAL | 766 | select USB_U_SERIAL |
| 766 | select USB_F_ACM | 767 | select USB_F_ACM |
| 767 | select USB_LIBCOMPOSITE | 768 | select USB_LIBCOMPOSITE |
| @@ -813,6 +814,8 @@ config USB_G_PRINTER | |||
| 813 | For more information, see Documentation/usb/gadget_printer.txt | 814 | For more information, see Documentation/usb/gadget_printer.txt |
| 814 | which includes sample code for accessing the device file. | 815 | which includes sample code for accessing the device file. |
| 815 | 816 | ||
| 817 | if TTY | ||
| 818 | |||
| 816 | config USB_CDC_COMPOSITE | 819 | config USB_CDC_COMPOSITE |
| 817 | tristate "CDC Composite Device (Ethernet and ACM)" | 820 | tristate "CDC Composite Device (Ethernet and ACM)" |
| 818 | depends on NET | 821 | depends on NET |
| @@ -900,6 +903,8 @@ config USB_G_MULTI_CDC | |||
| 900 | 903 | ||
| 901 | If unsure, say "y". | 904 | If unsure, say "y". |
| 902 | 905 | ||
| 906 | endif # TTY | ||
| 907 | |||
| 903 | config USB_G_HID | 908 | config USB_G_HID |
| 904 | tristate "HID Gadget" | 909 | tristate "HID Gadget" |
| 905 | select USB_LIBCOMPOSITE | 910 | select USB_LIBCOMPOSITE |
| @@ -916,6 +921,7 @@ config USB_G_HID | |||
| 916 | # Standalone / single function gadgets | 921 | # Standalone / single function gadgets |
| 917 | config USB_G_DBGP | 922 | config USB_G_DBGP |
| 918 | tristate "EHCI Debug Device Gadget" | 923 | tristate "EHCI Debug Device Gadget" |
| 924 | depends on TTY | ||
| 919 | select USB_LIBCOMPOSITE | 925 | select USB_LIBCOMPOSITE |
| 920 | help | 926 | help |
| 921 | This gadget emulates an EHCI Debug device. This is useful when you want | 927 | This gadget emulates an EHCI Debug device. This is useful when you want |
