diff options
author | Antti Palosaari <crope@iki.fi> | 2012-09-12 10:37:29 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-09-23 19:07:45 -0400 |
commit | 03f4efc34f535505e82079162816ff15ba7003bc (patch) | |
tree | 54d8c25ac623cd1f4097df1c1169bf32b7ac01a4 | |
parent | bab9b4fe089668ecab98547bec7e3d77e01ad206 (diff) |
[media] tda10071: declare MODULE_FIRMWARE
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r-- | drivers/media/dvb-frontends/tda10071.c | 3 | ||||
-rw-r--r-- | drivers/media/dvb-frontends/tda10071_priv.h | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/drivers/media/dvb-frontends/tda10071.c b/drivers/media/dvb-frontends/tda10071.c index 498c2182c308..a83bf6802345 100644 --- a/drivers/media/dvb-frontends/tda10071.c +++ b/drivers/media/dvb-frontends/tda10071.c | |||
@@ -850,7 +850,7 @@ static int tda10071_init(struct dvb_frontend *fe) | |||
850 | struct tda10071_cmd cmd; | 850 | struct tda10071_cmd cmd; |
851 | int ret, i, len, remaining, fw_size; | 851 | int ret, i, len, remaining, fw_size; |
852 | const struct firmware *fw; | 852 | const struct firmware *fw; |
853 | u8 *fw_file = TDA10071_DEFAULT_FIRMWARE; | 853 | u8 *fw_file = TDA10071_FIRMWARE; |
854 | u8 tmp, buf[4]; | 854 | u8 tmp, buf[4]; |
855 | struct tda10071_reg_val_mask tab[] = { | 855 | struct tda10071_reg_val_mask tab[] = { |
856 | { 0xcd, 0x00, 0x07 }, | 856 | { 0xcd, 0x00, 0x07 }, |
@@ -1282,3 +1282,4 @@ static struct dvb_frontend_ops tda10071_ops = { | |||
1282 | MODULE_AUTHOR("Antti Palosaari <crope@iki.fi>"); | 1282 | MODULE_AUTHOR("Antti Palosaari <crope@iki.fi>"); |
1283 | MODULE_DESCRIPTION("NXP TDA10071 DVB-S/S2 demodulator driver"); | 1283 | MODULE_DESCRIPTION("NXP TDA10071 DVB-S/S2 demodulator driver"); |
1284 | MODULE_LICENSE("GPL"); | 1284 | MODULE_LICENSE("GPL"); |
1285 | MODULE_FIRMWARE(TDA10071_FIRMWARE); | ||
diff --git a/drivers/media/dvb-frontends/tda10071_priv.h b/drivers/media/dvb-frontends/tda10071_priv.h index 0fa85cfa70c2..4baf14bfb65a 100644 --- a/drivers/media/dvb-frontends/tda10071_priv.h +++ b/drivers/media/dvb-frontends/tda10071_priv.h | |||
@@ -77,7 +77,7 @@ struct tda10071_reg_val_mask { | |||
77 | }; | 77 | }; |
78 | 78 | ||
79 | /* firmware filename */ | 79 | /* firmware filename */ |
80 | #define TDA10071_DEFAULT_FIRMWARE "dvb-fe-tda10071.fw" | 80 | #define TDA10071_FIRMWARE "dvb-fe-tda10071.fw" |
81 | 81 | ||
82 | /* firmware commands */ | 82 | /* firmware commands */ |
83 | #define CMD_DEMOD_INIT 0x10 | 83 | #define CMD_DEMOD_INIT 0x10 |