Skip to content

Commit

Permalink
[media] af9013: declare MODULE_FIRMWARE
Browse files Browse the repository at this point in the history
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Antti Palosaari authored and Mauro Carvalho Chehab committed Sep 23, 2012
1 parent f667190 commit a71103a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion drivers/media/dvb-frontends/af9013.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down Expand Up @@ -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);
2 changes: 1 addition & 1 deletion drivers/media/dvb-frontends/af9013_priv.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a71103a

Please sign in to comment.