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

Juerg Haefliger juerg.haefliger at canonical.com
Wed Jun 28 19:50:39 AEST 2023


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

Fixes: 6a794a27daca ("fsi: master-ast-cf: Add new FSI master using Aspeed ColdFire")
Cc: stable at vger.kernel.org # 4.19+
Signed-off-by: Juerg Haefliger <juerg.haefliger at canonical.com>

---
v2:
  - Remove empty line
  - Add Fixes and Cc tags
---
 drivers/fsi/fsi-master-ast-cf.c | 1 +
 1 file changed, 1 insertion(+)

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



More information about the linux-fsi mailing list