Commit 03f4efc3 authored by Antti Palosaari's avatar Antti Palosaari Committed by Mauro Carvalho Chehab

[media] tda10071: declare MODULE_FIRMWARE

Signed-off-by: default avatarAntti Palosaari <crope@iki.fi>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent bab9b4fe
...@@ -850,7 +850,7 @@ static int tda10071_init(struct dvb_frontend *fe) ...@@ -850,7 +850,7 @@ static int tda10071_init(struct dvb_frontend *fe)
struct tda10071_cmd cmd; struct tda10071_cmd cmd;
int ret, i, len, remaining, fw_size; int ret, i, len, remaining, fw_size;
const struct firmware *fw; const struct firmware *fw;
u8 *fw_file = TDA10071_DEFAULT_FIRMWARE; u8 *fw_file = TDA10071_FIRMWARE;
u8 tmp, buf[4]; u8 tmp, buf[4];
struct tda10071_reg_val_mask tab[] = { struct tda10071_reg_val_mask tab[] = {
{ 0xcd, 0x00, 0x07 }, { 0xcd, 0x00, 0x07 },
...@@ -1282,3 +1282,4 @@ static struct dvb_frontend_ops tda10071_ops = { ...@@ -1282,3 +1282,4 @@ static struct dvb_frontend_ops tda10071_ops = {
MODULE_AUTHOR("Antti Palosaari <crope@iki.fi>"); MODULE_AUTHOR("Antti Palosaari <crope@iki.fi>");
MODULE_DESCRIPTION("NXP TDA10071 DVB-S/S2 demodulator driver"); MODULE_DESCRIPTION("NXP TDA10071 DVB-S/S2 demodulator driver");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
MODULE_FIRMWARE(TDA10071_FIRMWARE);
...@@ -77,7 +77,7 @@ struct tda10071_reg_val_mask { ...@@ -77,7 +77,7 @@ struct tda10071_reg_val_mask {
}; };
/* firmware filename */ /* firmware filename */
#define TDA10071_DEFAULT_FIRMWARE "dvb-fe-tda10071.fw" #define TDA10071_FIRMWARE "dvb-fe-tda10071.fw"
/* firmware commands */ /* firmware commands */
#define CMD_DEMOD_INIT 0x10 #define CMD_DEMOD_INIT 0x10
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment