Re: linux-next: Tree for Jul 25 (drivers/net/dsa/b53/b53_common.c)
From: Randy Dunlap
Date: Fri Jul 25 2025 - 17:04:25 EST
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