diff options
author | 2025-04-25 13:27:56 +0200 | |
---|---|---|
committer | 2025-04-28 14:04:13 -0700 | |
commit | ccc25158c22bf9aaf1242182b852bb6c73e88ac3 (patch) | |
tree | d12420349f9fa144666752a3cf95331132369da8 /tools/perf/scripts/python/gecko.py | |
parent | Merge branch 'net-stmmac-dwmac-loongson-add-loongson-2k3000-support' (diff) | |
download | wireguard-linux-ccc25158c22bf9aaf1242182b852bb6c73e88ac3.tar.xz wireguard-linux-ccc25158c22bf9aaf1242182b852bb6c73e88ac3.zip |
mdio: fix CONFIG_MDIO_DEVRES selects
The newly added rtl9300 driver needs MDIO_DEVRES:
x86_64-linux-ld: drivers/net/mdio/mdio-realtek-rtl9300.o: in function `rtl9300_mdiobus_probe':
mdio-realtek-rtl9300.c:(.text+0x941): undefined reference to `devm_mdiobus_alloc_size'
x86_64-linux-ld: mdio-realtek-rtl9300.c:(.text+0x9e2): undefined reference to `__devm_mdiobus_register'
Since this is a hidden symbol, it needs to be selected by each user,
rather than the usual 'depends on'. I see that there are a few other
drivers that accidentally use 'depends on', so fix these as well for
consistency and to avoid dependency loops.
Fixes: 37f9b2a6c086 ("net: ethernet: Add missing depends on MDIO_DEVRES")
Fixes: 24e31e474769 ("net: mdio: Add RTL9300 MDIO driver")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Link: https://patch.msgid.link/20250425112819.1645342-1-arnd@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions