summaryrefslogtreecommitdiffstats
path: root/drivers/usb/Kconfig
diff options
context:
space:
mode:
authorPeter Chen <peter.chen@nxp.com>2016-09-14 09:49:30 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-09-27 12:20:17 +0200
commitcb9c1cfc86926d0e86d19c8e34f6c23458cd3478 (patch)
treeeb9a3fd9837fb37a955c40b6d59e00db2aa2126e /drivers/usb/Kconfig
parenta2f195a73eba807006fb0cb882ecb552c06eea00 (diff)
downloadlinux-cb9c1cfc86926d0e86d19c8e34f6c23458cd3478.tar.bz2
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>
Diffstat (limited to 'drivers/usb/Kconfig')
-rw-r--r--drivers/usb/Kconfig5
1 files changed, 3 insertions, 2 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"
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.
@@ -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