summaryrefslogtreecommitdiffstats
path: root/drivers/usb/core
diff options
context:
space:
mode:
authorPeter Chen <peter.chen@freescale.com>2015-11-19 04:47:47 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-11-20 01:31:42 +0100
commitc4f161308ac280ce5b27681ddcc2bbac6de39c20 (patch)
tree0d0291642497c4d451392d31cf25f4fd377f2d87 /drivers/usb/core
parentUSB: option: add XS Stick W100-2 from 4G Systems (diff)
downloadlinux-c4f161308ac280ce5b27681ddcc2bbac6de39c20.tar.xz
linux-c4f161308ac280ce5b27681ddcc2bbac6de39c20.zip
usb: kconfig: fix warning of select USB_OTG
When choose randconfig for kernel build, it reports below warning: "warning: (USB_OTG_FSM && FSL_USB2_OTG && USB_MV_OTG) selects USB_OTG which has unmet direct dependencies (USB_SUPPORT && USB && PM)" In fact, USB_OTG is visible symbol and depends on PM, so the driver needs to depend on it to reduce dependency problem. Signed-off-by: Peter Chen <peter.chen@freescale.com> Reported-by: Arnd Bergmann <arnd@arndb.de> Cc: Felipe Balbi <balbi@ti.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/core')
-rw-r--r--drivers/usb/core/Kconfig3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/usb/core/Kconfig b/drivers/usb/core/Kconfig
index a99c89e78126..dd280108758f 100644
--- a/drivers/usb/core/Kconfig
+++ b/drivers/usb/core/Kconfig
@@ -77,8 +77,7 @@ config USB_OTG_BLACKLIST_HUB
config USB_OTG_FSM
tristate "USB 2.0 OTG FSM implementation"
- depends on USB
- select USB_OTG
+ depends on USB && USB_OTG
select USB_PHY
help
Implements OTG Finite State Machine as specified in On-The-Go