aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2012-09-12 10:37:28 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-09-23 19:07:07 -0400
commita71103a6adc10d7003a09ecf1de5532967d6bee8 (patch)
tree804a65660ccc9c1df1647cc046bab6eeeb6a3857 /drivers/media
parentf667190be182637bf8f85f70fa8a9e6582564a76 (diff)
[media] af9013: declare MODULE_FIRMWARE
Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/dvb-frontends/af9013.c3
-rw-r--r--drivers/media/dvb-frontends/af9013_priv.h2
2 files changed, 3 insertions, 2 deletions
diff --git a/drivers/media/dvb-frontends/af9013.c b/drivers/media/dvb-frontends/af9013.c
index 2dac31491755..b30ca2da1d58 100644
--- a/drivers/media/dvb-frontends/af9013.c
+++ b/drivers/media/dvb-frontends/af9013.c
@@ -1332,7 +1332,7 @@ static int af9013_download_firmware(struct af9013_state *state)
1332 u16 checksum = 0; 1332 u16 checksum = 0;
1333 u8 val; 1333 u8 val;
1334 u8 fw_params[4]; 1334 u8 fw_params[4];
1335 u8 *fw_file = AF9013_DEFAULT_FIRMWARE; 1335 u8 *fw_file = AF9013_FIRMWARE;
1336 1336
1337 msleep(100); 1337 msleep(100);
1338 /* check whether firmware is already running */ 1338 /* check whether firmware is already running */
@@ -1524,3 +1524,4 @@ static struct dvb_frontend_ops af9013_ops = {
1524MODULE_AUTHOR("Antti Palosaari <crope@iki.fi>"); 1524MODULE_AUTHOR("Antti Palosaari <crope@iki.fi>");
1525MODULE_DESCRIPTION("Afatech AF9013 DVB-T demodulator driver"); 1525MODULE_DESCRIPTION("Afatech AF9013 DVB-T demodulator driver");
1526MODULE_LICENSE("GPL"); 1526MODULE_LICENSE("GPL");
1527MODULE_FIRMWARE(AF9013_FIRMWARE);
diff --git a/drivers/media/dvb-frontends/af9013_priv.h b/drivers/media/dvb-frontends/af9013_priv.h
index fa848af6e9b4..04ee6cecc6ab 100644
--- a/drivers/media/dvb-frontends/af9013_priv.h
+++ b/drivers/media/dvb-frontends/af9013_priv.h
@@ -42,7 +42,7 @@
42#undef warn 42#undef warn
43#define warn(f, arg...) printk(KERN_WARNING LOG_PREFIX": " f "\n" , ## arg) 43#define warn(f, arg...) printk(KERN_WARNING LOG_PREFIX": " f "\n" , ## arg)
44 44
45#define AF9013_DEFAULT_FIRMWARE "dvb-fe-af9013.fw" 45#define AF9013_FIRMWARE "dvb-fe-af9013.fw"
46 46
47struct af9013_reg_bit { 47struct af9013_reg_bit {
48 u16 addr; 48 u16 addr;