[PATCH] net: xscale: ixp4xx: add missing MODULE_DEVICE_TABLE()

From: Pengpeng Hou

Date: Sat Jul 04 2026 - 20:20:38 EST


The driver has a match table for the of bus wired into its driver
structure, but the table is not exported with MODULE_DEVICE_TABLE().

Add the missing MODULE_DEVICE_TABLE() entry so module alias information
is generated for automatic module loading.

This is a source-level fix. It does not claim dynamic hardware
reproduction; the evidence is the driver-owned match table, its use by
the driver registration structure, and the missing module alias
publication.

Signed-off-by: Pengpeng Hou <pengpeng@xxxxxxxxxxx>
---
drivers/net/ethernet/xscale/ixp4xx_eth.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/net/ethernet/xscale/ixp4xx_eth.c b/drivers/net/ethernet/xscale/ixp4xx_eth.c
index b0faa0f1780d..3c6a300386c5 100644
--- a/drivers/net/ethernet/xscale/ixp4xx_eth.c
+++ b/drivers/net/ethernet/xscale/ixp4xx_eth.c
@@ -1606,6 +1606,7 @@ static const struct of_device_id ixp4xx_eth_of_match[] = {
},
{ },
};
+MODULE_DEVICE_TABLE(of, ixp4xx_eth_of_match);

static struct platform_driver ixp4xx_eth_driver = {
.driver = {
--
2.53.0