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

[media] af9015: declare MODULE_FIRMWARE

Signed-off-by: default avatarAntti Palosaari <crope@iki.fi>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent a71103a6
...@@ -1307,7 +1307,7 @@ static struct dvb_usb_device_properties af9015_props = { ...@@ -1307,7 +1307,7 @@ static struct dvb_usb_device_properties af9015_props = {
.generic_bulk_ctrl_endpoint_response = 0x81, .generic_bulk_ctrl_endpoint_response = 0x81,
.identify_state = af9015_identify_state, .identify_state = af9015_identify_state,
.firmware = "dvb-usb-af9015.fw", .firmware = AF9015_FIRMWARE,
.download_firmware = af9015_download_firmware, .download_firmware = af9015_download_firmware,
.i2c_algo = &af9015_i2c_algo, .i2c_algo = &af9015_i2c_algo,
...@@ -1433,3 +1433,4 @@ module_usb_driver(af9015_usb_driver); ...@@ -1433,3 +1433,4 @@ module_usb_driver(af9015_usb_driver);
MODULE_AUTHOR("Antti Palosaari <crope@iki.fi>"); MODULE_AUTHOR("Antti Palosaari <crope@iki.fi>");
MODULE_DESCRIPTION("Afatech AF9015 driver"); MODULE_DESCRIPTION("Afatech AF9015 driver");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
MODULE_FIRMWARE(AF9015_FIRMWARE);
...@@ -57,6 +57,8 @@ ...@@ -57,6 +57,8 @@
#define warn(format, arg...) \ #define warn(format, arg...) \
printk(KERN_WARNING DVB_USB_LOG_PREFIX ": " format "\n" , ## arg) printk(KERN_WARNING DVB_USB_LOG_PREFIX ": " format "\n" , ## arg)
#define AF9015_FIRMWARE "dvb-usb-af9015.fw"
/* Windows driver uses packet count 21 for USB1.1 and 348 for USB2.0. /* Windows driver uses packet count 21 for USB1.1 and 348 for USB2.0.
We use smaller - about 1/4 from the original, 5 and 87. */ We use smaller - about 1/4 from the original, 5 and 87. */
#define TS_PACKET_SIZE 188 #define TS_PACKET_SIZE 188
......
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