]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
[media] af9013: declare MODULE_FIRMWARE
authorAntti Palosaari <crope@iki.fi>
Wed, 12 Sep 2012 14:37:28 +0000 (11:37 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 23 Sep 2012 23:07:07 +0000 (20:07 -0300)
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb-frontends/af9013.c
drivers/media/dvb-frontends/af9013_priv.h

index 2dac31491755abe66362a5215c951aa2b5331599..b30ca2da1d58ca9395b508fe07b60c12abef7d4b 100644 (file)
@@ -1332,7 +1332,7 @@ static int af9013_download_firmware(struct af9013_state *state)
        u16 checksum = 0;
        u8 val;
        u8 fw_params[4];
-       u8 *fw_file = AF9013_DEFAULT_FIRMWARE;
+       u8 *fw_file = AF9013_FIRMWARE;
 
        msleep(100);
        /* check whether firmware is already running */
@@ -1524,3 +1524,4 @@ static struct dvb_frontend_ops af9013_ops = {
 MODULE_AUTHOR("Antti Palosaari <crope@iki.fi>");
 MODULE_DESCRIPTION("Afatech AF9013 DVB-T demodulator driver");
 MODULE_LICENSE("GPL");
+MODULE_FIRMWARE(AF9013_FIRMWARE);
index fa848af6e9b403fe6b8c7d9eec07d9b06647776b..04ee6cecc6ab65672fbd16d944018a131a6c844b 100644 (file)
@@ -42,7 +42,7 @@
 #undef warn
 #define warn(f, arg...) printk(KERN_WARNING LOG_PREFIX": " f "\n" , ## arg)
 
-#define AF9013_DEFAULT_FIRMWARE     "dvb-fe-af9013.fw"
+#define AF9013_FIRMWARE "dvb-fe-af9013.fw"
 
 struct af9013_reg_bit {
        u16 addr;