From: Felipe Balbi <balbi@ti.com>
To: Jim Davis <jim.epost@gmail.com>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>,
linux-next <linux-next@vger.kernel.org>,
linux-kernel <linux-kernel@vger.kernel.org>, balbi <balbi@ti.com>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Grant Likely <grant.likely@linaro.org>,
Rob Herring <robh+dt@kernel.org>,
linux-usb <linux-usb@vger.kernel.org>
Subject: Re: randconfig build error with next-20140513, in drivers/usb/phy/phy-msm-usb.c
Date: Tue, 13 May 2014 09:56:48 -0500 [thread overview]
Message-ID: <20140513145648.GD1151@saruman.home> (raw)
In-Reply-To: <CA+r1ZhhpZtMV6qt=E__UT+6jgbsAnhso58+wmrrwrU5FRNZp=Q@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1495 bytes --]
On Tue, May 13, 2014 at 06:46:05AM -0700, Jim Davis wrote:
> Building with the attached random configuration file,
>
> drivers/usb/phy/phy-msm-usb.c: In function ‘msm_otg_read_dt’:
> drivers/usb/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");
> ^
> drivers/usb/phy/phy-msm-usb.c:1461:17: warning: assignment makes
> pointer from integer without a cast [enabled by default]
> motg->link_rst = devm_reset_control_get(&pdev->dev, "link");
> ^
> drivers/usb/phy/phy-msm-usb.c:1465:16: warning: assignment makes
> pointer from integer without a cast [enabled by default]
> motg->phy_rst = devm_reset_control_get(&pdev->dev, "phy");
> ^
> cc1: some warnings being treated as errors
> make[3]: *** [drivers/usb/phy/phy-msm-usb.o] Error 1
Here's a patch:
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
will send it shortly
--
balbi
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
prev parent reply other threads:[~2014-05-13 14:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-13 13:46 randconfig build error with next-20140513, in drivers/usb/phy/phy-msm-usb.c Jim Davis
2014-05-13 14:56 ` Felipe Balbi [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140513145648.GD1151@saruman.home \
--to=balbi@ti.com \
--cc=grant.likely@linaro.org \
--cc=gregkh@linuxfoundation.org \
--cc=jim.epost@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-next@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=robh+dt@kernel.org \
--cc=sfr@canb.auug.org.au \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox