Re: linux-next: Tree for May 18 (drivers/net/dsa/qca8k.c)

From: Randy Dunlap
Date: Tue May 18 2021 - 12:33:30 EST


On 5/18/21 2:27 AM, Stephen Rothwell wrote:
> Hi all,
>
> Changes since 20210514:
>

on x86_64:
# CONFIG_OF is not set

../drivers/net/dsa/qca8k.c: In function ‘qca8k_mdio_register’:
../drivers/net/dsa/qca8k.c:797:9: error: implicit declaration of function ‘devm_of_mdiobus_register’; did you mean ‘devm_mdiobus_register’? [-Werror=implicit-function-declaration]
return devm_of_mdiobus_register(priv->dev, bus, mdio);


Should there be a stub for this function in <linux/of_mdio.h>?
or the driver could add a dependency on OF_MDIO.

Full randconfig file is attached.

--
~Randy
Reported-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>

Attachment: config-r9381.gz
Description: application/gzip