summaryrefslogtreecommitdiffstats
path: root/drivers/usb/core/Kconfig
diff options
context:
space:
mode:
authorPeter Chen <peter.chen@freescale.com>2015-11-19 11:47:47 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-11-19 16:31:42 -0800
commitc4f161308ac280ce5b27681ddcc2bbac6de39c20 (patch)
tree0d0291642497c4d451392d31cf25f4fd377f2d87 /drivers/usb/core/Kconfig
parent638148e20c7f8f6e95017fdc13bce8549a6925e0 (diff)
downloadop-kernel-dev-c4f161308ac280ce5b27681ddcc2bbac6de39c20.zip
op-kernel-dev-c4f161308ac280ce5b27681ddcc2bbac6de39c20.tar.gz
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/Kconfig')
-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 a99c89e..dd28010 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
OpenPOWER on IntegriCloud