fsi: master-ast-cf: Add MODULE_FIRMWARE macro
authorJuerg Haefliger <juerg.haefliger@canonical.com>
Wed, 28 Jun 2023 09:50:39 +0000 (11:50 +0200)
committerJoel Stanley <joel@jms.id.au>
Fri, 11 Aug 2023 04:02:14 +0000 (13:32 +0930)
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@vger.kernel.org # 4.19+
Signed-off-by: Juerg Haefliger <juerg.haefliger@canonical.com>
Link: https://lore.kernel.org/r/20230628095039.26218-1-juerg.haefliger@canonical.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
drivers/fsi/fsi-master-ast-cf.c

index 6124978305eb43594465add3b6855a9234d9801c..3306311d69894b0f9d5054fde0d80063c38e032f 100644 (file)
@@ -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);