diff options
author | Florian Fainelli <florian@openwrt.org> | 2013-04-09 08:29:25 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-04-09 19:49:07 -0400 |
commit | 25e11ec4fe5271c4895265ecbb69531e6b0c0dd5 (patch) | |
tree | ff7baadd2effb7e76b62fce13b7392e4a59f8d03 /drivers/usb/class | |
parent | a2a2d6c7f93e160b52a4ad0164db1f43f743ae0f (diff) |
USB: regroup all depends on USB within an if USB block
This patch removes the depends on USB from all config symbols in
drivers/usb/host/Kconfig and replace that with an if USB / endif block
as suggested by Alan Stern. Some source ... Kconfig lines have been
shuffled around to permit a better regroupment of the Kconfig files
depending on "config USB" item. No functionnal change is introduced.
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/class')
-rw-r--r-- | drivers/usb/class/Kconfig | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/usb/class/Kconfig b/drivers/usb/class/Kconfig index 316aac8e4ca1..bb8b73682a70 100644 --- a/drivers/usb/class/Kconfig +++ b/drivers/usb/class/Kconfig | |||
@@ -2,11 +2,10 @@ | |||
2 | # USB Class driver configuration | 2 | # USB Class driver configuration |
3 | # | 3 | # |
4 | comment "USB Device Class drivers" | 4 | comment "USB Device Class drivers" |
5 | depends on USB | ||
6 | 5 | ||
7 | config USB_ACM | 6 | config USB_ACM |
8 | tristate "USB Modem (CDC ACM) support" | 7 | tristate "USB Modem (CDC ACM) support" |
9 | depends on USB && TTY | 8 | depends on TTY |
10 | ---help--- | 9 | ---help--- |
11 | This driver supports USB modems and ISDN adapters which support the | 10 | This driver supports USB modems and ISDN adapters which support the |
12 | Communication Device Class Abstract Control Model interface. | 11 | Communication Device Class Abstract Control Model interface. |
@@ -21,7 +20,6 @@ config USB_ACM | |||
21 | 20 | ||
22 | config USB_PRINTER | 21 | config USB_PRINTER |
23 | tristate "USB Printer support" | 22 | tristate "USB Printer support" |
24 | depends on USB | ||
25 | help | 23 | help |
26 | Say Y here if you want to connect a USB printer to your computer's | 24 | Say Y here if you want to connect a USB printer to your computer's |
27 | USB port. | 25 | USB port. |
@@ -31,7 +29,6 @@ config USB_PRINTER | |||
31 | 29 | ||
32 | config USB_WDM | 30 | config USB_WDM |
33 | tristate "USB Wireless Device Management support" | 31 | tristate "USB Wireless Device Management support" |
34 | depends on USB | ||
35 | ---help--- | 32 | ---help--- |
36 | This driver supports the WMC Device Management functionality | 33 | This driver supports the WMC Device Management functionality |
37 | of cell phones compliant to the CDC WMC specification. You can use | 34 | of cell phones compliant to the CDC WMC specification. You can use |
@@ -42,7 +39,6 @@ config USB_WDM | |||
42 | 39 | ||
43 | config USB_TMC | 40 | config USB_TMC |
44 | tristate "USB Test and Measurement Class support" | 41 | tristate "USB Test and Measurement Class support" |
45 | depends on USB | ||
46 | help | 42 | help |
47 | Say Y here if you want to connect a USB device that follows | 43 | Say Y here if you want to connect a USB device that follows |
48 | the USB.org specification for USB Test and Measurement devices | 44 | the USB.org specification for USB Test and Measurement devices |