Skip to contentSkip to conversation

soc: ixp4xx/qmgr: fix module autoloading

PATCH In review Liao Chen 1 participant 2 messages Aug 14, 2024 – Aug 19, 2024 Arm/Intel IXP4XX Arm architecture

lore
Share & tools
lore

Liao Chen

author
#0 lore raw

PATCH 1/1 soc: ixp4xx/qmgr: fix module autoloading

Add MODULE_DEVICE_TABLE(), so modules could be properly autoloaded based on the alias from of_device_id table.

---
 drivers/soc/ixp4xx/ixp4xx-qmgr.c | 1 +
 1 file changed, 1 insertion(+)
drivers/soc/ixp4xx/ixp4xx-qmgr.c +1 -0
index cb112f3643e9..dabcf91c3cae 100644
@@ -454,6 +454,7 @@ static const struct of_device_id ixp4xx_qmgr_of_match[] = {
         },
 	{},
 };
+MODULE_DEVICE_TABLE(of, ixp4xx_qmgr_of_match);
 
 static struct platform_driver ixp4xx_qmgr_driver = {
 	.driver = {
Signature · 1 line
2.34.1
#1 lore raw
Quoted 13 lines · Liao Chen

Add MODULE_DEVICE_TABLE(), so modules could be properly autoloaded based on the alias from of_device_id table.

---
  drivers/soc/ixp4xx/ixp4xx-qmgr.c | 1 +
  1 file changed, 1 insertion(+)
drivers/soc/ixp4xx/ixp4xx-qmgr.c +0 -0
index cb112f3643e9..dabcf91c3cae 100644

drivers/soc/ixp4xx/ixp4xx-qmgr.c static const struct of_device_id ixp4xx_qmgr_of_match[] = { · line 460

Quoted 7 lines
drivers/soc/ixp4xx/ixp4xx-qmgr.c +1 -0
@@ -454,6 +454,7 @@ static const struct of_device_id ixp4xx_qmgr_of_match[] = {
          },
  	{},
  };
+MODULE_DEVICE_TABLE(of, ixp4xx_qmgr_of_match);
 
  static struct platform_driver ixp4xx_qmgr_driver = {
  	.driver = {

Gentle ping

Thanks,
Chen