Skip to contentSkip to conversation

firmware: stratix10-svc: fix module autoloading

PATCH New Liao Chen 1 participant 1 message Aug 20, 2024 Intel STRATIX10 firmware drivers

lore
Share & tools
lore

Liao Chen

author
#0 lore raw

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.

---
 drivers/firmware/stratix10-svc.c | 1 +
 1 file changed, 1 insertion(+)
drivers/firmware/stratix10-svc.c +1 -0
index 528f37417aea..d7d6b1d771df 100644
@@ -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