[PATCH] USB: USB_OTG does not depend on PM
arnd at arndb.de
Tue Nov 17 13:01:37 PST 2015
USB_OTG initially depended on USB_SUSPEND, which was later turned into
PM_RUNTIME and finally into PM. I don't know at what point the dependency
became unnecessary but it appears to work fine without CONFIG_PM now.
However, we get lots of warnings in randconfig kernels like:
warning: (USB_OTG_FSM && FSL_USB2_OTG && USB_MV_OTG) selects USB_OTG which has unmet direct dependencies (USB_SUPPORT && USB && PM)
whenever CONFIG_PM is disabled and something else selects USB_OTG.
Let's just drop the dependency to avoid the warnings.
Signed-off-by: Arnd Bergmann <arnd at arndb.de>
I keep seeing this one in my ARM randconfig test
diff --git a/drivers/usb/core/Kconfig b/drivers/usb/core/Kconfig
index a99c89e78126..9c5cdf30ca74 100644
@@ -43,7 +43,6 @@ config USB_DYNAMIC_MINORS
bool "OTG support"
- depends on PM
The most notable feature of USB OTG is support for a
More information about the linux-arm-kernel