提交 cb9c1cfc 编写于 作者: P Peter Chen 提交者: Greg Kroah-Hartman

usb: Kconfig: using select for USB_COMMON dependency

According to (badf6d47 "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: NPeter Chen <peter.chen@nxp.com>
Acked-by: NArnd Bergmann <arnd@arndb.de>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 a2f195a7
...@@ -152,7 +152,8 @@ source "drivers/usb/gadget/Kconfig" ...@@ -152,7 +152,8 @@ source "drivers/usb/gadget/Kconfig"
config USB_LED_TRIG config USB_LED_TRIG
bool "USB LED Triggers" bool "USB LED Triggers"
depends on LEDS_CLASS && USB_COMMON && LEDS_TRIGGERS depends on LEDS_CLASS && LEDS_TRIGGERS
select USB_COMMON
help help
This option adds LED triggers for USB host and/or gadget activity. This option adds LED triggers for USB host and/or gadget activity.
...@@ -162,7 +163,7 @@ config USB_LED_TRIG ...@@ -162,7 +163,7 @@ config USB_LED_TRIG
config USB_ULPI_BUS config USB_ULPI_BUS
tristate "USB ULPI PHY interface support" tristate "USB ULPI PHY interface support"
depends on USB_COMMON select USB_COMMON
help help
UTMI+ Low Pin Interface (ULPI) is specification for a commonly used UTMI+ Low Pin Interface (ULPI) is specification for a commonly used
USB 2.0 PHY interface. The ULPI specification defines a standard set USB 2.0 PHY interface. The ULPI specification defines a standard set
......
config USBIP_CORE config USBIP_CORE
tristate "USB/IP support" tristate "USB/IP support"
depends on USB_COMMON && NET depends on NET
select USB_COMMON
---help--- ---help---
This enables pushing USB packets over IP to allow remote This enables pushing USB packets over IP to allow remote
machines direct access to USB devices. It provides the machines direct access to USB devices. It provides the
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册