diff options
author | Antti Palosaari <crope@iki.fi> | 2010-09-09 11:10:50 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-10-20 23:05:51 -0400 |
commit | 76391a71543ba0c45e634b31cc33cef1e1be8e79 (patch) | |
tree | ad78330baf450c7af3d3a8d0298592dcd72954fc /drivers/media | |
parent | a44b91d9fe02a96b8d53863a1653bd4c14a31ea7 (diff) |
V4L/DVB: af9015: fix bug introduced by commit 490ade7e3f4474f626a8f5d778ead4e599b94fbc
Commit 490ade7e3f4474f626a8f5d778ead4e599b94fbc merge conflict fix
leads situation where last nine device definitions were overridden mistakenly.
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/dvb/dvb-usb/af9015.c | 25 |
1 files changed, 6 insertions, 19 deletions
diff --git a/drivers/media/dvb/dvb-usb/af9015.c b/drivers/media/dvb/dvb-usb/af9015.c index 754b126ed176..b5fdcc2cb543 100644 --- a/drivers/media/dvb/dvb-usb/af9015.c +++ b/drivers/media/dvb/dvb-usb/af9015.c | |||
@@ -1370,7 +1370,7 @@ static struct dvb_usb_device_properties af9015_properties[] = { | |||
1370 | 1370 | ||
1371 | .i2c_algo = &af9015_i2c_algo, | 1371 | .i2c_algo = &af9015_i2c_algo, |
1372 | 1372 | ||
1373 | .num_device_descs = 9, /* check max from dvb-usb.h */ | 1373 | .num_device_descs = 10, /* check max from dvb-usb.h */ |
1374 | .devices = { | 1374 | .devices = { |
1375 | { | 1375 | { |
1376 | .name = "Afatech AF9015 DVB-T USB2.0 stick", | 1376 | .name = "Afatech AF9015 DVB-T USB2.0 stick", |
@@ -1422,6 +1422,11 @@ static struct dvb_usb_device_properties af9015_properties[] = { | |||
1422 | .cold_ids = {&af9015_usb_table[9], NULL}, | 1422 | .cold_ids = {&af9015_usb_table[9], NULL}, |
1423 | .warm_ids = {NULL}, | 1423 | .warm_ids = {NULL}, |
1424 | }, | 1424 | }, |
1425 | { | ||
1426 | .name = "TerraTec Cinergy T Stick RC", | ||
1427 | .cold_ids = {&af9015_usb_table[33], NULL}, | ||
1428 | .warm_ids = {NULL}, | ||
1429 | }, | ||
1425 | } | 1430 | } |
1426 | }, { | 1431 | }, { |
1427 | .caps = DVB_USB_IS_AN_I2C_ADAPTER, | 1432 | .caps = DVB_USB_IS_AN_I2C_ADAPTER, |
@@ -1638,24 +1643,6 @@ static struct dvb_usb_device_properties af9015_properties[] = { | |||
1638 | .cold_ids = {&af9015_usb_table[32], NULL}, | 1643 | .cold_ids = {&af9015_usb_table[32], NULL}, |
1639 | .warm_ids = {NULL}, | 1644 | .warm_ids = {NULL}, |
1640 | }, | 1645 | }, |
1641 | }, | ||
1642 | |||
1643 | .identify_state = af9015_identify_state, | ||
1644 | |||
1645 | .rc.legacy = { | ||
1646 | .rc_query = af9015_rc_query, | ||
1647 | .rc_interval = 150, | ||
1648 | }, | ||
1649 | |||
1650 | .i2c_algo = &af9015_i2c_algo, | ||
1651 | |||
1652 | .num_device_descs = 1, /* check max from dvb-usb.h */ | ||
1653 | .devices = { | ||
1654 | { | ||
1655 | .name = "TerraTec Cinergy T Stick RC", | ||
1656 | .cold_ids = {&af9015_usb_table[33], NULL}, | ||
1657 | .warm_ids = {NULL}, | ||
1658 | }, | ||
1659 | } | 1646 | } |
1660 | }, | 1647 | }, |
1661 | }; | 1648 | }; |