[media] ec168: declare MODULE_FIRMWARE
authorAntti Palosaari <crope@iki.fi>
Wed, 12 Sep 2012 14:37:27 +0000 (11:37 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 23 Sep 2012 23:08:21 +0000 (20:08 -0300)
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/usb/dvb-usb-v2/ec168.c
drivers/media/usb/dvb-usb-v2/ec168.h

index b74c810e7decb952d0968c8f6d3da74f171cabba..b6a9c5b5e8add835ffc4e867ab50c05bc53d6581 100644 (file)
@@ -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);
index f65180822acb6ad80ad92a43ce4bfb7bd6c44196..615a6569421f55298a07b4770711f0ef9e895113 100644 (file)
@@ -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] */