mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH -next] firmware: stratix10-svc: fix module autoloading
@ 2024-08-20 12:17 Liao Chen
  0 siblings, 0 replies; only message in thread
From: Liao Chen @ 2024-08-20 12:17 UTC (permalink / raw)
  To: linux-kernel; +Cc: dinguyen

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

Signed-off-by: Liao Chen <liaochen4@huawei.com>
---
 drivers/firmware/stratix10-svc.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/firmware/stratix10-svc.c b/drivers/firmware/stratix10-svc.c
index 528f37417aea..d7d6b1d771df 100644
--- a/drivers/firmware/stratix10-svc.c
+++ b/drivers/firmware/stratix10-svc.c
@@ -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)
 {
-- 
2.34.1


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-08-20 12:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-08-20 12:17 [PATCH -next] firmware: stratix10-svc: fix module autoloading Liao Chen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®