lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20240820121758.42398-1-liaochen4@huawei.com>
Date: Tue, 20 Aug 2024 12:17:58 +0000
From: Liao Chen <liaochen4@...wei.com>
To: <linux-kernel@...r.kernel.org>
CC: <dinguyen@...nel.org>
Subject: [PATCH -next] 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 <liaochen4@...wei.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


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ