diff options
author | Antti Palosaari <crope@iki.fi> | 2012-09-12 10:37:25 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-09-23 19:07:31 -0400 |
commit | bab9b4fe089668ecab98547bec7e3d77e01ad206 (patch) | |
tree | 9574b1cd0d9f097f757d7eb1e1c5ad876056815e /drivers/media/usb/dvb-usb-v2 | |
parent | a71103a6adc10d7003a09ecf1de5532967d6bee8 (diff) |
[media] af9015: declare MODULE_FIRMWARE
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/usb/dvb-usb-v2')
-rw-r--r-- | drivers/media/usb/dvb-usb-v2/af9015.c | 3 | ||||
-rw-r--r-- | drivers/media/usb/dvb-usb-v2/af9015.h | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/drivers/media/usb/dvb-usb-v2/af9015.c b/drivers/media/usb/dvb-usb-v2/af9015.c index 9afceedc9d1f..d9d3030106d4 100644 --- a/drivers/media/usb/dvb-usb-v2/af9015.c +++ b/drivers/media/usb/dvb-usb-v2/af9015.c | |||
@@ -1307,7 +1307,7 @@ static struct dvb_usb_device_properties af9015_props = { | |||
1307 | .generic_bulk_ctrl_endpoint_response = 0x81, | 1307 | .generic_bulk_ctrl_endpoint_response = 0x81, |
1308 | 1308 | ||
1309 | .identify_state = af9015_identify_state, | 1309 | .identify_state = af9015_identify_state, |
1310 | .firmware = "dvb-usb-af9015.fw", | 1310 | .firmware = AF9015_FIRMWARE, |
1311 | .download_firmware = af9015_download_firmware, | 1311 | .download_firmware = af9015_download_firmware, |
1312 | 1312 | ||
1313 | .i2c_algo = &af9015_i2c_algo, | 1313 | .i2c_algo = &af9015_i2c_algo, |
@@ -1433,3 +1433,4 @@ module_usb_driver(af9015_usb_driver); | |||
1433 | MODULE_AUTHOR("Antti Palosaari <crope@iki.fi>"); | 1433 | MODULE_AUTHOR("Antti Palosaari <crope@iki.fi>"); |
1434 | MODULE_DESCRIPTION("Afatech AF9015 driver"); | 1434 | MODULE_DESCRIPTION("Afatech AF9015 driver"); |
1435 | MODULE_LICENSE("GPL"); | 1435 | MODULE_LICENSE("GPL"); |
1436 | MODULE_FIRMWARE(AF9015_FIRMWARE); | ||
diff --git a/drivers/media/usb/dvb-usb-v2/af9015.h b/drivers/media/usb/dvb-usb-v2/af9015.h index c6b304d962ad..35f946c478f2 100644 --- a/drivers/media/usb/dvb-usb-v2/af9015.h +++ b/drivers/media/usb/dvb-usb-v2/af9015.h | |||
@@ -57,6 +57,8 @@ | |||
57 | #define warn(format, arg...) \ | 57 | #define warn(format, arg...) \ |
58 | printk(KERN_WARNING DVB_USB_LOG_PREFIX ": " format "\n" , ## arg) | 58 | printk(KERN_WARNING DVB_USB_LOG_PREFIX ": " format "\n" , ## arg) |
59 | 59 | ||
60 | #define AF9015_FIRMWARE "dvb-usb-af9015.fw" | ||
61 | |||
60 | /* Windows driver uses packet count 21 for USB1.1 and 348 for USB2.0. | 62 | /* Windows driver uses packet count 21 for USB1.1 and 348 for USB2.0. |
61 | We use smaller - about 1/4 from the original, 5 and 87. */ | 63 | We use smaller - about 1/4 from the original, 5 and 87. */ |
62 | #define TS_PACKET_SIZE 188 | 64 | #define TS_PACKET_SIZE 188 |