soc: ixp4xx/qmgr: fix module autoloading
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.
Signed-off-by Liao Chen <[email protected]>
--- drivers/soc/ixp4xx/ixp4xx-qmgr.c | 1 + 1 file changed, 1 insertion(+)
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 = {
Signature · 1 line
2.34.1
Quoted 13 lines · Liao Chen
Add
MODULE_DEVICE_TABLE(), so modules could be properly autoloaded based on the alias fromof_device_idtable.Signed-off-by Liao Chen <[email protected]>--- drivers/soc/ixp4xx/ixp4xx-qmgr.c | 1 + 1 file changed, 1 insertion(+)drivers/soc/ixp4xx/ixp4xx-qmgr.c +0
-0
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