drivers/reset/core.c does not provide an empty stub for cases when CONFIG_RESET_CONTROLLER isn't enabled, which might break build of the MSM PHY driver if that driver is enabled but CONFIG_RESET_CONTROLLER isn't.
We make the driver depend on CONFIG_RESET_CONTROLLER so we can never have such a case Cc: Ivan T. Ivanov <[email protected]> Cc: Tim Bird <[email protected]> Reported-by: Jim Davis <[email protected]> Reported-by: Fengguang Wu <[email protected]> Signed-off-by: Felipe Balbi <[email protected]> --- drivers/usb/phy/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/phy/Kconfig b/drivers/usb/phy/Kconfig index fbbced8..ec531a4 100644 --- a/drivers/usb/phy/Kconfig +++ b/drivers/usb/phy/Kconfig @@ -173,6 +173,7 @@ config USB_ISP1301 config USB_MSM_OTG tristate "Qualcomm on-chip USB OTG controller support" depends on (USB || USB_GADGET) && (ARCH_MSM || ARCH_QCOM || COMPILE_TEST) + depends on RESET_CONTROLLER select USB_PHY help Enable this to support the USB OTG transceiver on Qualcomm chips. It -- 2.0.0.rc1 -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
