[PATCH] fsi: master-ast-cf: Add MODULE_FIRMWARE macro

Juerg Haefliger juerg.haefliger at canonical.com
Fri Jun 16 22:20:40 AEST 2023


The module loads firmware so add a MODULE_FIRMWARE macro to provide that
information via modinfo.

Signed-off-by: Juerg Haefliger <juerg.haefliger at canonical.com>
---
 drivers/fsi/fsi-master-ast-cf.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/fsi/fsi-master-ast-cf.c b/drivers/fsi/fsi-master-ast-cf.c
index 5f608ef8b53c..1316bfd121fe 100644
--- a/drivers/fsi/fsi-master-ast-cf.c
+++ b/drivers/fsi/fsi-master-ast-cf.c
@@ -1441,3 +1441,5 @@ static struct platform_driver fsi_master_acf = {
 
 module_platform_driver(fsi_master_acf);
 MODULE_LICENSE("GPL");
+
+MODULE_FIRMWARE(FW_FILE_NAME);
-- 
2.37.2



More information about the linux-fsi mailing list