diff options
author | Arnd Bergmann <arnd@arndb.de> | 2024-11-13 14:55:08 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-11-15 06:25:51 +0300 |
commit | 4c54e9497d9abbaca814a963f805884f02dc89ec (patch) | |
tree | e10c4498cac7955d7e0771284efde7e104c0b6f9 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | f66af9616148e10e04eb172c7616ad79912b446e (diff) | |
download | linux-4c54e9497d9abbaca814a963f805884f02dc89ec.tar.xz |
net: sparx5: add missing lan969x Kconfig dependency
The sparx5 switchdev driver can be built either with or without support
for the Lan969x switch. However, it cannot be built-in when the lan969x
driver is a loadable module because of a link-time dependency:
arm-linux-gnueabi-ld: drivers/net/ethernet/microchip/sparx5/sparx5_main.o:(.rodata+0xd44): undefined reference to `lan969x_desc'
Add a Kconfig dependency to reflect this in Kconfig, allowing all
the valid configurations but forcing sparx5 to be a loadable module
as well if lan969x is.
Fixes: 98a01119608d ("net: sparx5: add compatible string for lan969x")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Daniel Machon <daniel.machon@microchip.com>
Link: https://patch.msgid.link/20241113115513.4132548-1-arnd@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions