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

[media] af9035: declare MODULE_FIRMWARE

Signed-off-by: default avatarAntti Palosaari <crope@iki.fi>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 0fe688f1
...@@ -1033,7 +1033,7 @@ static const struct dvb_usb_device_properties af9035_props = { ...@@ -1033,7 +1033,7 @@ static const struct dvb_usb_device_properties af9035_props = {
.generic_bulk_ctrl_endpoint_response = 0x81, .generic_bulk_ctrl_endpoint_response = 0x81,
.identify_state = af9035_identify_state, .identify_state = af9035_identify_state,
.firmware = "dvb-usb-af9035-02.fw", .firmware = AF9035_FIRMWARE_AF9035,
.download_firmware = af9035_download_firmware, .download_firmware = af9035_download_firmware,
.i2c_algo = &af9035_i2c_algo, .i2c_algo = &af9035_i2c_algo,
...@@ -1063,7 +1063,7 @@ static const struct dvb_usb_device_properties it9135_props = { ...@@ -1063,7 +1063,7 @@ static const struct dvb_usb_device_properties it9135_props = {
.generic_bulk_ctrl_endpoint_response = 0x81, .generic_bulk_ctrl_endpoint_response = 0x81,
.identify_state = af9035_identify_state, .identify_state = af9035_identify_state,
.firmware = "dvb-usb-it9135-01.fw", .firmware = AF9035_FIRMWARE_IT9135,
.download_firmware = af9035_download_firmware_it9135, .download_firmware = af9035_download_firmware_it9135,
.i2c_algo = &af9035_i2c_algo, .i2c_algo = &af9035_i2c_algo,
...@@ -1127,3 +1127,5 @@ module_usb_driver(af9035_usb_driver); ...@@ -1127,3 +1127,5 @@ module_usb_driver(af9035_usb_driver);
MODULE_AUTHOR("Antti Palosaari <crope@iki.fi>"); MODULE_AUTHOR("Antti Palosaari <crope@iki.fi>");
MODULE_DESCRIPTION("Afatech AF9035 driver"); MODULE_DESCRIPTION("Afatech AF9035 driver");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
MODULE_FIRMWARE(AF9035_FIRMWARE_AF9035);
MODULE_FIRMWARE(AF9035_FIRMWARE_IT9135);
...@@ -84,6 +84,9 @@ u32 clock_lut_it9135[] = { ...@@ -84,6 +84,9 @@ u32 clock_lut_it9135[] = {
22000000, /* 22.00 MHz */ 22000000, /* 22.00 MHz */
}; };
#define AF9035_FIRMWARE_AF9035 "dvb-usb-af9035-02.fw"
#define AF9035_FIRMWARE_IT9135 "dvb-usb-it9135-01.fw"
/* EEPROM locations */ /* EEPROM locations */
#define EEPROM_IR_MODE 0x430d #define EEPROM_IR_MODE 0x430d
#define EEPROM_DUAL_MODE 0x4326 #define EEPROM_DUAL_MODE 0x4326
......
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