summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2012-09-12 11:37:27 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-09-23 20:08:21 -0300
commit6a60e3f653a76bd0771216b3225b82861fa8dfd1 (patch)
tree70ac102ca134644c29fc7639bee3be511024ffd6
parent03f4efc34f535505e82079162816ff15ba7003bc (diff)
downloadblackbird-op-linux-6a60e3f653a76bd0771216b3225b82861fa8dfd1.tar.gz
blackbird-op-linux-6a60e3f653a76bd0771216b3225b82861fa8dfd1.zip
[media] ec168: 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/usb/dvb-usb-v2/ec168.c3
-rw-r--r--drivers/media/usb/dvb-usb-v2/ec168.h1
2 files changed, 3 insertions, 1 deletions
diff --git a/drivers/media/usb/dvb-usb-v2/ec168.c b/drivers/media/usb/dvb-usb-v2/ec168.c
index b74c810e7dec..b6a9c5b5e8ad 100644
--- a/drivers/media/usb/dvb-usb-v2/ec168.c
+++ b/drivers/media/usb/dvb-usb-v2/ec168.c
@@ -322,7 +322,7 @@ static struct dvb_usb_device_properties ec168_props = {
.bInterfaceNumber = 1,
.identify_state = ec168_identify_state,
- .firmware = "dvb-usb-ec168.fw",
+ .firmware = EC168_FIRMWARE,
.download_firmware = ec168_download_firmware,
.i2c_algo = &ec168_i2c_algo,
@@ -374,3 +374,4 @@ module_usb_driver(ec168_driver);
MODULE_AUTHOR("Antti Palosaari <crope@iki.fi>");
MODULE_DESCRIPTION("E3C EC168 driver");
MODULE_LICENSE("GPL");
+MODULE_FIRMWARE(EC168_FIRMWARE);
diff --git a/drivers/media/usb/dvb-usb-v2/ec168.h b/drivers/media/usb/dvb-usb-v2/ec168.h
index f65180822acb..615a6569421f 100644
--- a/drivers/media/usb/dvb-usb-v2/ec168.h
+++ b/drivers/media/usb/dvb-usb-v2/ec168.h
@@ -25,6 +25,7 @@
#include "dvb_usb.h"
#define EC168_USB_TIMEOUT 1000
+#define EC168_FIRMWARE "dvb-usb-ec168.fw"
struct ec168_req {
u8 cmd; /* [1] */
OpenPOWER on IntegriCloud