firmware: stratix10-svc: fix module autoloading
PATCH 1/1 firmware: stratix10-svc: 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/firmware/stratix10-svc.c | 1 + 1 file changed, 1 insertion(+)
drivers/firmware/stratix10-svc.c +1 -0
@@ -1122,6 +1122,7 @@ static const struct of_device_id stratix10_svc_drv_match[] = { {.compatible = "intel,agilex-svc"}, {}, }; +MODULE_DEVICE_TABLE (of, stratix10_svc_drv_match);static int stratix10_svc_drv_probe (struct platform_device *pdev) {
Signature · 1 line
2.34.1