[media] tda10071: declare MODULE_FIRMWARE
authorAntti Palosaari <crope@iki.fi>
Wed, 12 Sep 2012 14:37:29 +0000 (11:37 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 23 Sep 2012 23:07:45 +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/tda10071.c
drivers/media/dvb-frontends/tda10071_priv.h

index 498c2182c308bc18b2b914f38e62c7db1f1fcbad..a83bf680234529a8504b6e3439e6b5f21fa3824b 100644 (file)
@@ -850,7 +850,7 @@ static int tda10071_init(struct dvb_frontend *fe)
        struct tda10071_cmd cmd;
        int ret, i, len, remaining, fw_size;
        const struct firmware *fw;
-       u8 *fw_file = TDA10071_DEFAULT_FIRMWARE;
+       u8 *fw_file = TDA10071_FIRMWARE;
        u8 tmp, buf[4];
        struct tda10071_reg_val_mask tab[] = {
                { 0xcd, 0x00, 0x07 },
@@ -1282,3 +1282,4 @@ static struct dvb_frontend_ops tda10071_ops = {
 MODULE_AUTHOR("Antti Palosaari <crope@iki.fi>");
 MODULE_DESCRIPTION("NXP TDA10071 DVB-S/S2 demodulator driver");
 MODULE_LICENSE("GPL");
+MODULE_FIRMWARE(TDA10071_FIRMWARE);
index 0fa85cfa70c21d85b0f06952b0e8b035c6cd4c92..4baf14bfb65a6d6ca4a485861492efcdc955f006 100644 (file)
@@ -77,7 +77,7 @@ struct tda10071_reg_val_mask {
 };
 
 /* firmware filename */
-#define TDA10071_DEFAULT_FIRMWARE      "dvb-fe-tda10071.fw"
+#define TDA10071_FIRMWARE "dvb-fe-tda10071.fw"
 
 /* firmware commands */
 #define CMD_DEMOD_INIT          0x10