diff options
author | Arnd Bergmann <arnd@arndb.de> | 2014-05-13 21:46:52 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2014-05-14 16:25:47 +0200 |
commit | c5ab571f81905568a59dce306df0181f33e00932 (patch) | |
tree | ba85de9d2e5c8f72f2c6375c20b18915b5adbe9b /drivers/usb/phy/phy-msm-usb.c | |
parent | usb: musb: omap2plus bus glue needs USB host support (diff) | |
download | linux-c5ab571f81905568a59dce306df0181f33e00932.tar.xz linux-c5ab571f81905568a59dce306df0181f33e00932.zip |
usb: phy: msm: reset controller is mandatory now
Commit a27345434134 "usb: phy: msm: Use reset framework for LINK
and PHY resets" introduced a mandatory call to reset_control_get
into the msm usb phy driver, which means we have to add a Kconfig
dependency on the API to avoid this build error:
phy/phy-msm-usb.c: In function 'msm_otg_read_dt':
phy/phy-msm-usb.c:1461:2: error: implicit declaration of function 'devm_reset_control_get' [-Werror=implicit-function-declaration]
motg->link_rst = devm_reset_control_get(&pdev->dev, "link");
^
Since the usb-ehci-msm driver currently selects the OTG driver,
we could still get a broken dependency here. To solve that,
this patch also removes the 'select', which turns out to be
unnecessary.
Reviewed-by: Ivan T. Ivanov <iivanov@mm-sol.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/phy/phy-msm-usb.c')
0 files changed, 0 insertions, 0 deletions