[PATCH] media: bttv: Add MODULE_FIRMWARE macro

From: Juerg Haefliger
Date: Fri Jun 16 2023 - 08:04:26 EST


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

Signed-off-by: Juerg Haefliger <juerg.haefliger@xxxxxxxxxxxxx>
---
drivers/media/pci/bt8xx/bttv-cards.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/media/pci/bt8xx/bttv-cards.c b/drivers/media/pci/bt8xx/bttv-cards.c
index ec78f7fc5e1b..867c1308de23 100644
--- a/drivers/media/pci/bt8xx/bttv-cards.c
+++ b/drivers/media/pci/bt8xx/bttv-cards.c
@@ -126,6 +126,7 @@ MODULE_PARM_DESC(audiodev, "specify audio device:\n"
"\t\t 3 = tvaudio");
MODULE_PARM_DESC(saa6588, "if 1, then load the saa6588 RDS module, default (0) is to use the card definition.");

+MODULE_FIRMWARE("hcwamc.rbf");

/* I2C addresses list */
#define I2C_ADDR_TDA7432 0x8a
--
2.37.2