net: fec: gate MPC52xx driver on PPC_MPC52xx
Subsystems (2)
PATCH 1/1 net: fec: gate MPC52xx driver on PPC_MPC52xx
The FEC MPC52xx driver only applies to the MPC52xx family of SoCs, but only depended on PPC_BESTCOMM. Restrict the driver to MPC52xx platforms so it is not offered if COMPILE_TEST is applied to PPC_BESTCOMM. Otherwise the following errors happen during linking:
ERROR: modpost: drivers/net/ethernet/freescale/fec_mpc52xx.ko: symbol 'mpc5xxx_fwnode_get_bus_frequency' undefined!
ERROR: modpost: drivers/net/ethernet/freescale/fec_mpc52xx_phy.ko: symbol 'mpc5xxx_fwnode_get_bus_frequency' undefined!
--- drivers/net/ethernet/freescale/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/freescale/Kconfig +1 -1
@@ -38,7 +38,7 @@ config FEC config FEC_MPC52xx tristate "FEC MPC52xx driver" - depends on PPC_BESTCOMM + depends on PPC_BESTCOMM && PPC_MPC52xx select CRC32 select PHYLIB select PPC_BESTCOMM_FEC
Signature · 1 line
2.55.0
Quoted 20 lines · Rosen Penev
The FEC MPC52xx driver only applies to the MPC52xx family of SoCs, but only depended on
PPC_BESTCOMM. Restrict the driver to MPC52xx platforms so it is not offered ifCOMPILE_TESTis applied toPPC_BESTCOMM. Otherwise the following errors happen during linking:ERROR: modpost:
drivers/net/ethernet/freescale/fec_mpc52xx.ko: symbol 'mpc5xxx_fwnode_get_bus_frequency' undefined!
ERROR: modpost:drivers/net/ethernet/freescale/fec_mpc52xx_phy.ko: symbol 'mpc5xxx_fwnode_get_bus_frequency' undefined!Assisted-by LLMSigned-off-by Rosen Penev <[email protected]>--- drivers/net/ethernet/freescale/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/net/ethernet/freescale/Kconfig +0
-0
drivers/net/ethernet/freescale/Kconfig config FEC · line 41
Quoted 5 lines
drivers/net/ethernet/freescale/Kconfig +1
-1@@ -38,7 +38,7 @@ config FEC config FEC_MPC52xx tristate "FEC MPC52xx driver" - depends on PPC_BESTCOMM + depends on PPC_BESTCOMM && PPC_MPC52xx
oh this is against local changes. Please ignore.
Quoted 6 lines
drivers/net/ethernet/freescale/Kconfig +0
-1select CRC32 select PHYLIB select PPC_BESTCOMM_FEC --2.55.0
Quoted 22 lines · Rosen Penev
Quoted 21 lines · Rosen Penev
The FEC MPC52xx driver only applies to the MPC52xx family of SoCs, but only depended on
PPC_BESTCOMM. Restrict the driver to MPC52xx platforms so it is not offered ifCOMPILE_TESTis applied toPPC_BESTCOMM. Otherwise the following errors happen during linking:ERROR: modpost:
drivers/net/ethernet/freescale/fec_mpc52xx.ko: symbol 'mpc5xxx_fwnode_get_bus_frequency' undefined!
ERROR: modpost:drivers/net/ethernet/freescale/fec_mpc52xx_phy.ko: symbol 'mpc5xxx_fwnode_get_bus_frequency' undefined!Assisted-by LLMSigned-off-by Rosen Penev <[email protected]>--- drivers/net/ethernet/freescale/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/net/ethernet/freescale/Kconfig +0
-0@@ -38,7 +38,7 @@ config FEC
Quoted 6 lines
drivers/net/ethernet/freescale/Kconfig config FEC · line 41
Quoted 4 lines
drivers/net/ethernet/freescale/Kconfig +1
-1config FEC_MPC52xx tristate "FEC MPC52xx driver" - depends on PPC_BESTCOMM + depends on PPC_BESTCOMM && PPC_MPC52xxoh this is against local changes. Please ignore.
https://www.kernel.org/doc/html/latest/process/maintainer-netdev.html#updating-patch-status
pw-bot: changes-requested
As a result the bot will set the entire series to Changes Requested. This may be useful when author discovers a bug in their own series and wants to prevent it from getting applied.
Andrew
---
pw-bot: cr