Commit cb9c1cfc86926d0e86d19c8e34f6c23458cd3478
Committed by
Greg Kroah-Hartman
1 parent
a2f195a73e
Exists in
smarc_imx_lf-5.15.y
and in
27 other branches
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>
Showing 2 changed files with 5 additions and 3 deletions Side-by-side Diff
drivers/usb/Kconfig
... | ... | @@ -152,7 +152,8 @@ |
152 | 152 | |
153 | 153 | config USB_LED_TRIG |
154 | 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 | 157 | help |
157 | 158 | This option adds LED triggers for USB host and/or gadget activity. |
158 | 159 | |
... | ... | @@ -162,7 +163,7 @@ |
162 | 163 | |
163 | 164 | config USB_ULPI_BUS |
164 | 165 | tristate "USB ULPI PHY interface support" |
165 | - depends on USB_COMMON | |
166 | + select USB_COMMON | |
166 | 167 | help |
167 | 168 | UTMI+ Low Pin Interface (ULPI) is specification for a commonly used |
168 | 169 | USB 2.0 PHY interface. The ULPI specification defines a standard set |
drivers/usb/usbip/Kconfig