diff options
author | Peter Chen <peter.chen@nxp.com> | 2016-09-13 21:49:30 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-09-27 06:20:17 -0400 |
commit | cb9c1cfc86926d0e86d19c8e34f6c23458cd3478 (patch) | |
tree | eb9a3fd9837fb37a955c40b6d59e00db2aa2126e | |
parent | a2f195a73eba807006fb0cb882ecb552c06eea00 (diff) |
usb: Kconfig: using select for USB_COMMON dependency
According to (badf6d47f8a9 "usb: common: rework CONFIG_USB_COMMON logic")
we should select USB_COMMON at Kconfig when usb common stuffs are needed,
but some of Kconfig enties have not followed it, update them.
Cc: Felipe Balbi <balbi@kernel.org>
Cc: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Peter Chen <peter.chen@nxp.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/usb/Kconfig | 5 | ||||
-rw-r--r-- | drivers/usb/usbip/Kconfig | 3 |
2 files changed, 5 insertions, 3 deletions
diff --git a/drivers/usb/Kconfig b/drivers/usb/Kconfig index 2b9159a9ab4f..644e978cbd3e 100644 --- a/drivers/usb/Kconfig +++ b/drivers/usb/Kconfig | |||
@@ -152,7 +152,8 @@ source "drivers/usb/gadget/Kconfig" | |||
152 | 152 | ||
153 | config USB_LED_TRIG | 153 | config USB_LED_TRIG |
154 | bool "USB LED Triggers" | 154 | bool "USB LED Triggers" |
155 | depends on LEDS_CLASS && USB_COMMON && LEDS_TRIGGERS | 155 | depends on LEDS_CLASS && LEDS_TRIGGERS |
156 | select USB_COMMON | ||
156 | help | 157 | help |
157 | This option adds LED triggers for USB host and/or gadget activity. | 158 | This option adds LED triggers for USB host and/or gadget activity. |
158 | 159 | ||
@@ -162,7 +163,7 @@ config USB_LED_TRIG | |||
162 | 163 | ||
163 | config USB_ULPI_BUS | 164 | config USB_ULPI_BUS |
164 | tristate "USB ULPI PHY interface support" | 165 | tristate "USB ULPI PHY interface support" |
165 | depends on USB_COMMON | 166 | select USB_COMMON |
166 | help | 167 | help |
167 | UTMI+ Low Pin Interface (ULPI) is specification for a commonly used | 168 | UTMI+ Low Pin Interface (ULPI) is specification for a commonly used |
168 | USB 2.0 PHY interface. The ULPI specification defines a standard set | 169 | USB 2.0 PHY interface. The ULPI specification defines a standard set |
diff --git a/drivers/usb/usbip/Kconfig b/drivers/usb/usbip/Kconfig index 29492c70e0e6..eeefa29f8aa2 100644 --- a/drivers/usb/usbip/Kconfig +++ b/drivers/usb/usbip/Kconfig | |||
@@ -1,6 +1,7 @@ | |||
1 | config USBIP_CORE | 1 | config USBIP_CORE |
2 | tristate "USB/IP support" | 2 | tristate "USB/IP support" |
3 | depends on USB_COMMON && NET | 3 | depends on NET |
4 | select USB_COMMON | ||
4 | ---help--- | 5 | ---help--- |
5 | This enables pushing USB packets over IP to allow remote | 6 | This enables pushing USB packets over IP to allow remote |
6 | machines direct access to USB devices. It provides the | 7 | machines direct access to USB devices. It provides the |