[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1400052224.8431.11.camel@iivanov-dev>
Date: Wed, 14 May 2014 10:23:44 +0300
From: "Ivan T. Ivanov" <iivanov@...sol.com>
To: Arnd Bergmann <arnd@...db.de>
Cc: Felipe Balbi <balbi@...com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH v2] usb: phy: msm: reset controller is mandatory now
On Tue, 2014-05-13 at 21:46 +0200, Arnd Bergmann wrote:
> 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.
>
> Signed-off-by: Arnd Bergmann <arnd@...db.de>
> Cc: "Ivan T. Ivanov" <iivanov@...sol.com>
Thank you.
Reviewed-by: Ivan T. Ivanov <iivanov@...sol.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists