diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-04-01 20:35:32 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-05-19 11:56:46 -0400 |
commit | e27e971c69f87bd6c00c4cff973497de365229ef (patch) | |
tree | 0f36f894525dce78ded6c36ecd614c57d57b0cd9 /drivers/media/dvb/dvb-usb/dtt200u.c | |
parent | d705d2ab7596b4661a2f13172f4f93ad11bd761f (diff) |
V4L/DVB: rename all *_rc_keys to ir_codes_*_nec_table
Several DVB drivers use a different name convention. As we're moving
the keytables, we need to use the same convention on all places.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/dvb-usb/dtt200u.c')
-rw-r--r-- | drivers/media/dvb/dvb-usb/dtt200u.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/drivers/media/dvb/dvb-usb/dtt200u.c b/drivers/media/dvb/dvb-usb/dtt200u.c index a1b12b01cbe4..f57e59044d4d 100644 --- a/drivers/media/dvb/dvb-usb/dtt200u.c +++ b/drivers/media/dvb/dvb-usb/dtt200u.c | |||
@@ -57,7 +57,7 @@ static int dtt200u_pid_filter(struct dvb_usb_adapter *adap, int index, u16 pid, | |||
57 | 57 | ||
58 | /* remote control */ | 58 | /* remote control */ |
59 | /* key list for the tiny remote control (Yakumo, don't know about the others) */ | 59 | /* key list for the tiny remote control (Yakumo, don't know about the others) */ |
60 | static struct dvb_usb_rc_key dtt200u_rc_keys[] = { | 60 | static struct dvb_usb_rc_key ir_codes_dtt200u_table[] = { |
61 | { 0x8001, KEY_MUTE }, | 61 | { 0x8001, KEY_MUTE }, |
62 | { 0x8002, KEY_CHANNELDOWN }, | 62 | { 0x8002, KEY_CHANNELDOWN }, |
63 | { 0x8003, KEY_VOLUMEDOWN }, | 63 | { 0x8003, KEY_VOLUMEDOWN }, |
@@ -162,8 +162,8 @@ static struct dvb_usb_device_properties dtt200u_properties = { | |||
162 | .power_ctrl = dtt200u_power_ctrl, | 162 | .power_ctrl = dtt200u_power_ctrl, |
163 | 163 | ||
164 | .rc_interval = 300, | 164 | .rc_interval = 300, |
165 | .rc_key_map = dtt200u_rc_keys, | 165 | .rc_key_map = ir_codes_dtt200u_table, |
166 | .rc_key_map_size = ARRAY_SIZE(dtt200u_rc_keys), | 166 | .rc_key_map_size = ARRAY_SIZE(ir_codes_dtt200u_table), |
167 | .rc_query = dtt200u_rc_query, | 167 | .rc_query = dtt200u_rc_query, |
168 | 168 | ||
169 | .generic_bulk_ctrl_endpoint = 0x01, | 169 | .generic_bulk_ctrl_endpoint = 0x01, |
@@ -207,8 +207,8 @@ static struct dvb_usb_device_properties wt220u_properties = { | |||
207 | .power_ctrl = dtt200u_power_ctrl, | 207 | .power_ctrl = dtt200u_power_ctrl, |
208 | 208 | ||
209 | .rc_interval = 300, | 209 | .rc_interval = 300, |
210 | .rc_key_map = dtt200u_rc_keys, | 210 | .rc_key_map = ir_codes_dtt200u_table, |
211 | .rc_key_map_size = ARRAY_SIZE(dtt200u_rc_keys), | 211 | .rc_key_map_size = ARRAY_SIZE(ir_codes_dtt200u_table), |
212 | .rc_query = dtt200u_rc_query, | 212 | .rc_query = dtt200u_rc_query, |
213 | 213 | ||
214 | .generic_bulk_ctrl_endpoint = 0x01, | 214 | .generic_bulk_ctrl_endpoint = 0x01, |
@@ -252,8 +252,8 @@ static struct dvb_usb_device_properties wt220u_fc_properties = { | |||
252 | .power_ctrl = dtt200u_power_ctrl, | 252 | .power_ctrl = dtt200u_power_ctrl, |
253 | 253 | ||
254 | .rc_interval = 300, | 254 | .rc_interval = 300, |
255 | .rc_key_map = dtt200u_rc_keys, | 255 | .rc_key_map = ir_codes_dtt200u_table, |
256 | .rc_key_map_size = ARRAY_SIZE(dtt200u_rc_keys), | 256 | .rc_key_map_size = ARRAY_SIZE(ir_codes_dtt200u_table), |
257 | .rc_query = dtt200u_rc_query, | 257 | .rc_query = dtt200u_rc_query, |
258 | 258 | ||
259 | .generic_bulk_ctrl_endpoint = 0x01, | 259 | .generic_bulk_ctrl_endpoint = 0x01, |
@@ -297,8 +297,8 @@ static struct dvb_usb_device_properties wt220u_zl0353_properties = { | |||
297 | .power_ctrl = dtt200u_power_ctrl, | 297 | .power_ctrl = dtt200u_power_ctrl, |
298 | 298 | ||
299 | .rc_interval = 300, | 299 | .rc_interval = 300, |
300 | .rc_key_map = dtt200u_rc_keys, | 300 | .rc_key_map = ir_codes_dtt200u_table, |
301 | .rc_key_map_size = ARRAY_SIZE(dtt200u_rc_keys), | 301 | .rc_key_map_size = ARRAY_SIZE(ir_codes_dtt200u_table), |
302 | .rc_query = dtt200u_rc_query, | 302 | .rc_query = dtt200u_rc_query, |
303 | 303 | ||
304 | .generic_bulk_ctrl_endpoint = 0x01, | 304 | .generic_bulk_ctrl_endpoint = 0x01, |