[PATCH] net: xscale: ixp4xx: add missing MODULE_DEVICE_TABLE()
Pengpeng Hou
pengpeng at iscas.ac.cn
Sat Jul 4 17:19:31 PDT 2026
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 at iscas.ac.cn>
---
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
More information about the linux-arm-kernel
mailing list