[PATCH v2] ramips: fix at803x patch again
John Thomson
lists at johnthomson.fastmail.com.au
Fri Jun 4 15:17:42 PDT 2021
On Fri, 4 Jun 2021, at 16:19, David Bauer wrote:
> See the commit "generic: backport at803x fixes" in my staging tree [0].
> [0] https://git.openwrt.org/?p=openwrt/staging/blocktrron.git;a=summary
This (efbaa6c8bd4c atop master) would not compile for me with 5.4?
CONFIG_TARGET_ramips=y
CONFIG_TARGET_ramips_mt7621=y
CONFIG_TARGET_ramips_mt7621_DEVICE_mikrotik_routerboard-760igs=y
CONFIG_KERNEL_DYNAMIC_DEBUG=y
Missing functions from:
(5.5) net: phy: at803x: add device tree binding
2f664823a47021ae029fe91272adbf0a223e477f
(5.5) net: phy: add helpers phy_(un)lock_mdio_bus
bec170e55982c2d3b8e1beccadf16e288fe6fb5a
CHK include/generated/compile.h
CC drivers/net/phy/at803x.o
drivers/net/phy/at803x.c: In function 'at803x_probe':
drivers/net/phy/at803x.c:365:6: error: implicit declaration of function 'at803x_match_phy_id'; did you mean 'cpupid_match_pid'? [-Werror=implicit-function-declaration]
if (at803x_match_phy_id(phydev, ATH8031_PHY_ID)) {
^~~~~~~~~~~~~~~~~~~
cpupid_match_pid
drivers/net/phy/at803x.c:366:3: error: implicit declaration of function 'phy_lock_mdio_bus' [-Werror=implicit-function-declaration]
phy_lock_mdio_bus(phydev);
^~~~~~~~~~~~~~~~~
drivers/net/phy/at803x.c:368:3: error: implicit declaration of function 'phy_unlock_mdio_bus' [-Werror=implicit-function-declaration]
phy_unlock_mdio_bus(phydev);
^~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[8]: *** [scripts/Makefile.build:262: drivers/net/phy/at803x.o] Error 1
Cheers,
--
John Thomson
More information about the openwrt-devel
mailing list