diff options
Diffstat (limited to 'drivers/media/dvb/dvb-usb/cxusb.c')
-rw-r--r-- | drivers/media/dvb/dvb-usb/cxusb.c | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/drivers/media/dvb/dvb-usb/cxusb.c b/drivers/media/dvb/dvb-usb/cxusb.c index 960376da7d59..33a83f93e7c9 100644 --- a/drivers/media/dvb/dvb-usb/cxusb.c +++ b/drivers/media/dvb/dvb-usb/cxusb.c | |||
@@ -461,7 +461,7 @@ static int cxusb_d680_dmb_rc_query(struct dvb_usb_device *d, u32 *event, | |||
461 | return 0; | 461 | return 0; |
462 | } | 462 | } |
463 | 463 | ||
464 | static struct dvb_usb_rc_key dvico_mce_rc_keys[] = { | 464 | static struct dvb_usb_rc_key ir_codes_dvico_mce_table[] = { |
465 | { 0xfe02, KEY_TV }, | 465 | { 0xfe02, KEY_TV }, |
466 | { 0xfe0e, KEY_MP3 }, | 466 | { 0xfe0e, KEY_MP3 }, |
467 | { 0xfe1a, KEY_DVD }, | 467 | { 0xfe1a, KEY_DVD }, |
@@ -509,7 +509,7 @@ static struct dvb_usb_rc_key dvico_mce_rc_keys[] = { | |||
509 | { 0xfe4e, KEY_POWER }, | 509 | { 0xfe4e, KEY_POWER }, |
510 | }; | 510 | }; |
511 | 511 | ||
512 | static struct dvb_usb_rc_key dvico_portable_rc_keys[] = { | 512 | static struct dvb_usb_rc_key ir_codes_dvico_portable_table[] = { |
513 | { 0xfc02, KEY_SETUP }, /* Profile */ | 513 | { 0xfc02, KEY_SETUP }, /* Profile */ |
514 | { 0xfc43, KEY_POWER2 }, | 514 | { 0xfc43, KEY_POWER2 }, |
515 | { 0xfc06, KEY_EPG }, | 515 | { 0xfc06, KEY_EPG }, |
@@ -548,7 +548,7 @@ static struct dvb_usb_rc_key dvico_portable_rc_keys[] = { | |||
548 | { 0xfc00, KEY_UNKNOWN }, /* HD */ | 548 | { 0xfc00, KEY_UNKNOWN }, /* HD */ |
549 | }; | 549 | }; |
550 | 550 | ||
551 | static struct dvb_usb_rc_key d680_dmb_rc_keys[] = { | 551 | static struct dvb_usb_rc_key ir_codes_d680_dmb_table[] = { |
552 | { 0x0038, KEY_UNKNOWN }, /* TV/AV */ | 552 | { 0x0038, KEY_UNKNOWN }, /* TV/AV */ |
553 | { 0x080c, KEY_ZOOM }, | 553 | { 0x080c, KEY_ZOOM }, |
554 | { 0x0800, KEY_0 }, | 554 | { 0x0800, KEY_0 }, |
@@ -1449,8 +1449,8 @@ static struct dvb_usb_device_properties cxusb_bluebird_lgh064f_properties = { | |||
1449 | .i2c_algo = &cxusb_i2c_algo, | 1449 | .i2c_algo = &cxusb_i2c_algo, |
1450 | 1450 | ||
1451 | .rc_interval = 100, | 1451 | .rc_interval = 100, |
1452 | .rc_key_map = dvico_portable_rc_keys, | 1452 | .rc_key_map = ir_codes_dvico_portable_table, |
1453 | .rc_key_map_size = ARRAY_SIZE(dvico_portable_rc_keys), | 1453 | .rc_key_map_size = ARRAY_SIZE(ir_codes_dvico_portable_table), |
1454 | .rc_query = cxusb_rc_query, | 1454 | .rc_query = cxusb_rc_query, |
1455 | 1455 | ||
1456 | .generic_bulk_ctrl_endpoint = 0x01, | 1456 | .generic_bulk_ctrl_endpoint = 0x01, |
@@ -1500,8 +1500,8 @@ static struct dvb_usb_device_properties cxusb_bluebird_dee1601_properties = { | |||
1500 | .i2c_algo = &cxusb_i2c_algo, | 1500 | .i2c_algo = &cxusb_i2c_algo, |
1501 | 1501 | ||
1502 | .rc_interval = 150, | 1502 | .rc_interval = 150, |
1503 | .rc_key_map = dvico_mce_rc_keys, | 1503 | .rc_key_map = ir_codes_dvico_mce_table, |
1504 | .rc_key_map_size = ARRAY_SIZE(dvico_mce_rc_keys), | 1504 | .rc_key_map_size = ARRAY_SIZE(ir_codes_dvico_mce_table), |
1505 | .rc_query = cxusb_rc_query, | 1505 | .rc_query = cxusb_rc_query, |
1506 | 1506 | ||
1507 | .generic_bulk_ctrl_endpoint = 0x01, | 1507 | .generic_bulk_ctrl_endpoint = 0x01, |
@@ -1559,8 +1559,8 @@ static struct dvb_usb_device_properties cxusb_bluebird_lgz201_properties = { | |||
1559 | .i2c_algo = &cxusb_i2c_algo, | 1559 | .i2c_algo = &cxusb_i2c_algo, |
1560 | 1560 | ||
1561 | .rc_interval = 100, | 1561 | .rc_interval = 100, |
1562 | .rc_key_map = dvico_portable_rc_keys, | 1562 | .rc_key_map = ir_codes_dvico_portable_table, |
1563 | .rc_key_map_size = ARRAY_SIZE(dvico_portable_rc_keys), | 1563 | .rc_key_map_size = ARRAY_SIZE(ir_codes_dvico_portable_table), |
1564 | .rc_query = cxusb_rc_query, | 1564 | .rc_query = cxusb_rc_query, |
1565 | 1565 | ||
1566 | .generic_bulk_ctrl_endpoint = 0x01, | 1566 | .generic_bulk_ctrl_endpoint = 0x01, |
@@ -1609,8 +1609,8 @@ static struct dvb_usb_device_properties cxusb_bluebird_dtt7579_properties = { | |||
1609 | .i2c_algo = &cxusb_i2c_algo, | 1609 | .i2c_algo = &cxusb_i2c_algo, |
1610 | 1610 | ||
1611 | .rc_interval = 100, | 1611 | .rc_interval = 100, |
1612 | .rc_key_map = dvico_portable_rc_keys, | 1612 | .rc_key_map = ir_codes_dvico_portable_table, |
1613 | .rc_key_map_size = ARRAY_SIZE(dvico_portable_rc_keys), | 1613 | .rc_key_map_size = ARRAY_SIZE(ir_codes_dvico_portable_table), |
1614 | .rc_query = cxusb_rc_query, | 1614 | .rc_query = cxusb_rc_query, |
1615 | 1615 | ||
1616 | .generic_bulk_ctrl_endpoint = 0x01, | 1616 | .generic_bulk_ctrl_endpoint = 0x01, |
@@ -1658,8 +1658,8 @@ static struct dvb_usb_device_properties cxusb_bluebird_dualdig4_properties = { | |||
1658 | .generic_bulk_ctrl_endpoint = 0x01, | 1658 | .generic_bulk_ctrl_endpoint = 0x01, |
1659 | 1659 | ||
1660 | .rc_interval = 100, | 1660 | .rc_interval = 100, |
1661 | .rc_key_map = dvico_mce_rc_keys, | 1661 | .rc_key_map = ir_codes_dvico_mce_table, |
1662 | .rc_key_map_size = ARRAY_SIZE(dvico_mce_rc_keys), | 1662 | .rc_key_map_size = ARRAY_SIZE(ir_codes_dvico_mce_table), |
1663 | .rc_query = cxusb_bluebird2_rc_query, | 1663 | .rc_query = cxusb_bluebird2_rc_query, |
1664 | 1664 | ||
1665 | .num_device_descs = 1, | 1665 | .num_device_descs = 1, |
@@ -1706,8 +1706,8 @@ static struct dvb_usb_device_properties cxusb_bluebird_nano2_properties = { | |||
1706 | .generic_bulk_ctrl_endpoint = 0x01, | 1706 | .generic_bulk_ctrl_endpoint = 0x01, |
1707 | 1707 | ||
1708 | .rc_interval = 100, | 1708 | .rc_interval = 100, |
1709 | .rc_key_map = dvico_portable_rc_keys, | 1709 | .rc_key_map = ir_codes_dvico_portable_table, |
1710 | .rc_key_map_size = ARRAY_SIZE(dvico_portable_rc_keys), | 1710 | .rc_key_map_size = ARRAY_SIZE(ir_codes_dvico_portable_table), |
1711 | .rc_query = cxusb_bluebird2_rc_query, | 1711 | .rc_query = cxusb_bluebird2_rc_query, |
1712 | 1712 | ||
1713 | .num_device_descs = 1, | 1713 | .num_device_descs = 1, |
@@ -1756,8 +1756,8 @@ static struct dvb_usb_device_properties cxusb_bluebird_nano2_needsfirmware_prope | |||
1756 | .generic_bulk_ctrl_endpoint = 0x01, | 1756 | .generic_bulk_ctrl_endpoint = 0x01, |
1757 | 1757 | ||
1758 | .rc_interval = 100, | 1758 | .rc_interval = 100, |
1759 | .rc_key_map = dvico_portable_rc_keys, | 1759 | .rc_key_map = ir_codes_dvico_portable_table, |
1760 | .rc_key_map_size = ARRAY_SIZE(dvico_portable_rc_keys), | 1760 | .rc_key_map_size = ARRAY_SIZE(ir_codes_dvico_portable_table), |
1761 | .rc_query = cxusb_rc_query, | 1761 | .rc_query = cxusb_rc_query, |
1762 | 1762 | ||
1763 | .num_device_descs = 1, | 1763 | .num_device_descs = 1, |
@@ -1847,8 +1847,8 @@ struct dvb_usb_device_properties cxusb_bluebird_dualdig4_rev2_properties = { | |||
1847 | .generic_bulk_ctrl_endpoint = 0x01, | 1847 | .generic_bulk_ctrl_endpoint = 0x01, |
1848 | 1848 | ||
1849 | .rc_interval = 100, | 1849 | .rc_interval = 100, |
1850 | .rc_key_map = dvico_mce_rc_keys, | 1850 | .rc_key_map = ir_codes_dvico_mce_table, |
1851 | .rc_key_map_size = ARRAY_SIZE(dvico_mce_rc_keys), | 1851 | .rc_key_map_size = ARRAY_SIZE(ir_codes_dvico_mce_table), |
1852 | .rc_query = cxusb_rc_query, | 1852 | .rc_query = cxusb_rc_query, |
1853 | 1853 | ||
1854 | .num_device_descs = 1, | 1854 | .num_device_descs = 1, |
@@ -1895,8 +1895,8 @@ static struct dvb_usb_device_properties cxusb_d680_dmb_properties = { | |||
1895 | .generic_bulk_ctrl_endpoint = 0x01, | 1895 | .generic_bulk_ctrl_endpoint = 0x01, |
1896 | 1896 | ||
1897 | .rc_interval = 100, | 1897 | .rc_interval = 100, |
1898 | .rc_key_map = d680_dmb_rc_keys, | 1898 | .rc_key_map = ir_codes_d680_dmb_table, |
1899 | .rc_key_map_size = ARRAY_SIZE(d680_dmb_rc_keys), | 1899 | .rc_key_map_size = ARRAY_SIZE(ir_codes_d680_dmb_table), |
1900 | .rc_query = cxusb_d680_dmb_rc_query, | 1900 | .rc_query = cxusb_d680_dmb_rc_query, |
1901 | 1901 | ||
1902 | .num_device_descs = 1, | 1902 | .num_device_descs = 1, |
@@ -1944,8 +1944,8 @@ static struct dvb_usb_device_properties cxusb_mygica_d689_properties = { | |||
1944 | .generic_bulk_ctrl_endpoint = 0x01, | 1944 | .generic_bulk_ctrl_endpoint = 0x01, |
1945 | 1945 | ||
1946 | .rc_interval = 100, | 1946 | .rc_interval = 100, |
1947 | .rc_key_map = d680_dmb_rc_keys, | 1947 | .rc_key_map = ir_codes_d680_dmb_table, |
1948 | .rc_key_map_size = ARRAY_SIZE(d680_dmb_rc_keys), | 1948 | .rc_key_map_size = ARRAY_SIZE(ir_codes_d680_dmb_table), |
1949 | .rc_query = cxusb_d680_dmb_rc_query, | 1949 | .rc_query = cxusb_d680_dmb_rc_query, |
1950 | 1950 | ||
1951 | .num_device_descs = 1, | 1951 | .num_device_descs = 1, |