[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <679b2dc9-337f-4b48-8830-add309e2d3e5@infradead.org>
Date: Fri, 25 Jul 2025 14:04:08 -0700
From: Randy Dunlap <rdunlap@...radead.org>
To: Stephen Rothwell <sfr@...b.auug.org.au>,
Linux Next Mailing List <linux-next@...r.kernel.org>
Cc: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Florian Fainelli <florian.fainelli@...adcom.com>, netdev@...r.kernel.org
Subject: Re: linux-next: Tree for Jul 25 (drivers/net/dsa/b53/b53_common.c)
On 7/24/25 7:48 PM, Stephen Rothwell wrote:
> Hi all,
>
> Changes since 20250724:
>
on ARCH=um SUBARCH=x86_64, when
# CONFIG_GPIOLIB is not set
../drivers/net/dsa/b53/b53_common.c: In function ‘b53_switch_reset_gpio’:
../drivers/net/dsa/b53/b53_common.c:952:9: error: implicit declaration of function ‘gpio_set_value’; did you mean ‘pte_set_val’? [-Wimplicit-function-declaration]
952 | gpio_set_value(gpio, 0);
| ^~~~~~~~~~~~~~
| pte_set_val
../drivers/net/dsa/b53/b53_common.c: In function ‘b53_switch_init’:
../drivers/net/dsa/b53/b53_common.c:3012:23: error: implicit declaration of function ‘devm_gpio_request_one’ [-Wimplicit-function-declaration]
3012 | ret = devm_gpio_request_one(dev->dev, dev->reset_gpio,
| ^~~~~~~~~~~~~~~~~~~~~
../drivers/net/dsa/b53/b53_common.c:3013:45: error: ‘GPIOF_OUT_INIT_HIGH’ undeclared (first use in this function)
3013 | GPIOF_OUT_INIT_HIGH, "robo_reset");
| ^~~~~~~~~~~~~~~~~~~
../drivers/net/dsa/b53/b53_common.c:3013:45: note: each undeclared identifier is reported only once for each function it appears in
Probably just needs "depends on GPIOLIB" or "select GPIOLIB"...
--
~Randy
Powered by blists - more mailing lists