Skip to content

Commit

Permalink
usb: Kconfig: using select for USB_COMMON dependency
Browse files Browse the repository at this point in the history
According to (badf6d4 "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>
  • Loading branch information
Peter Chen authored and Greg Kroah-Hartman committed Sep 27, 2016
1 parent a2f195a commit cb9c1cf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions drivers/usb/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,8 @@ source "drivers/usb/gadget/Kconfig"

config USB_LED_TRIG
bool "USB LED Triggers"
depends on LEDS_CLASS && USB_COMMON && LEDS_TRIGGERS
depends on LEDS_CLASS && LEDS_TRIGGERS
select USB_COMMON
help
This option adds LED triggers for USB host and/or gadget activity.

Expand All @@ -162,7 +163,7 @@ config USB_LED_TRIG

config USB_ULPI_BUS
tristate "USB ULPI PHY interface support"
depends on USB_COMMON
select USB_COMMON
help
UTMI+ Low Pin Interface (ULPI) is specification for a commonly used
USB 2.0 PHY interface. The ULPI specification defines a standard set
Expand Down
3 changes: 2 additions & 1 deletion drivers/usb/usbip/Kconfig
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
config USBIP_CORE
tristate "USB/IP support"
depends on USB_COMMON && NET
depends on NET
select USB_COMMON
---help---
This enables pushing USB packets over IP to allow remote
machines direct access to USB devices. It provides the
Expand Down

0 comments on commit cb9c1cf

Please sign in to comment.