From: Vinod Koul <vkoul@kernel.org>
To: Randy Dunlap <rdunlap@infradead.org>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>,
Linux Next Mailing List <linux-next@vger.kernel.org>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Kishon Vijay Abraham I <kishon@ti.com>,
Hans de Goede <hdegoede@redhat.com>
Subject: Re: linux-next: Tree for Jul 15 (drivers/phy/allwinner/phy-sun4i-usb.c)
Date: Thu, 16 Jul 2020 11:54:06 +0530 [thread overview]
Message-ID: <20200716062406.GG55478@vkoul-mobl> (raw)
In-Reply-To: <edd798bb-ee51-bb99-b885-682489e7fda5@infradead.org>
On 15-07-20, 08:18, Randy Dunlap wrote:
> On 7/15/20 1:05 AM, Stephen Rothwell wrote:
> > Hi all,
> >
> > Changes since 20200714:
> >
>
> on x86_64:
> # CONFIG_GPIOLIB is not set
>
> ../drivers/phy/allwinner/phy-sun4i-usb.c: In function ‘sun4i_usb_phy0_get_id_det’:
> ../drivers/phy/allwinner/phy-sun4i-usb.c:367:11: error: implicit declaration of function ‘gpiod_get_value_cansleep’; did you mean ‘gpio_get_value_cansleep’? [-Werror=implicit-function-declaration]
> return gpiod_get_value_cansleep(data->id_det_gpio);
> ^~~~~~~~~~~~~~~~~~~~~~~~
> gpio_get_value_cansleep
> CC fs/bad_inode.o
> ../drivers/phy/allwinner/phy-sun4i-usb.c: In function ‘sun4i_usb_phy_probe’:
> ../drivers/phy/allwinner/phy-sun4i-usb.c:707:22: error: implicit declaration of function ‘devm_gpiod_get_optional’; did you mean ‘devm_clk_get_optional’? [-Werror=implicit-function-declaration]
> data->id_det_gpio = devm_gpiod_get_optional(dev, "usb0_id_det",
> ^~~~~~~~~~~~~~~~~~~~~~~
> devm_clk_get_optional
> ../drivers/phy/allwinner/phy-sun4i-usb.c:708:11: error: ‘GPIOD_IN’ undeclared (first use in this function); did you mean ‘GPIOF_IN’?
> GPIOD_IN);
> ^~~~~~~~
> GPIOF_IN
> ../drivers/phy/allwinner/phy-sun4i-usb.c:708:11: note: each undeclared identifier is reported only once for each function it appears in
> ../drivers/phy/allwinner/phy-sun4i-usb.c:815:21: error: implicit declaration of function ‘gpiod_to_irq’; did you mean ‘gpio_to_irq’? [-Werror=implicit-function-declaration]
> data->id_det_irq = gpiod_to_irq(data->id_det_gpio);
> ^~~~~~~~~~~~
> gpio_to_irq
>
>
> Full randconfig file is attached.
Thanks Randy for the report, it is fixed by adding the right gpio
header, sending a patch now
--
~Vinod
prev parent reply other threads:[~2020-07-16 6:24 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-15 8:05 linux-next: Tree for Jul 15 Stephen Rothwell
2020-07-15 15:18 ` linux-next: Tree for Jul 15 (drivers/phy/allwinner/phy-sun4i-usb.c) Randy Dunlap
2020-07-16 6:24 ` Vinod Koul [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=20200716062406.GG55478@vkoul-mobl \
--to=vkoul@kernel.org \
--cc=hdegoede@redhat.com \
--cc=kishon@ti.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-next@vger.kernel.org \
--cc=rdunlap@infradead.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