aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/dvb')
-rw-r--r--drivers/media/dvb/dvb-usb/af9015.c12
-rw-r--r--drivers/media/dvb/dvb-usb/anysee.c2
-rw-r--r--drivers/media/dvb/dvb-usb/dib0700.h2
-rw-r--r--drivers/media/dvb/dvb-usb/dib0700_core.c12
-rw-r--r--drivers/media/dvb/dvb-usb/dib0700_devices.c86
-rw-r--r--drivers/media/dvb/dvb-usb/dvb-usb.h2
-rw-r--r--drivers/media/dvb/mantis/mantis_input.c2
-rw-r--r--drivers/media/dvb/siano/smsir.c2
8 files changed, 60 insertions, 60 deletions
diff --git a/drivers/media/dvb/dvb-usb/af9015.c b/drivers/media/dvb/dvb-usb/af9015.c
index bc2a6e464cea..8671ca362c81 100644
--- a/drivers/media/dvb/dvb-usb/af9015.c
+++ b/drivers/media/dvb/dvb-usb/af9015.c
@@ -1344,11 +1344,11 @@ static struct dvb_usb_device_properties af9015_properties[] = {
1344 .identify_state = af9015_identify_state, 1344 .identify_state = af9015_identify_state,
1345 1345
1346 .rc.core = { 1346 .rc.core = {
1347 .protocol = IR_TYPE_NEC, 1347 .protocol = RC_TYPE_NEC,
1348 .module_name = "af9015", 1348 .module_name = "af9015",
1349 .rc_query = af9015_rc_query, 1349 .rc_query = af9015_rc_query,
1350 .rc_interval = AF9015_RC_INTERVAL, 1350 .rc_interval = AF9015_RC_INTERVAL,
1351 .allowed_protos = IR_TYPE_NEC, 1351 .allowed_protos = RC_TYPE_NEC,
1352 }, 1352 },
1353 1353
1354 .i2c_algo = &af9015_i2c_algo, 1354 .i2c_algo = &af9015_i2c_algo,
@@ -1472,11 +1472,11 @@ static struct dvb_usb_device_properties af9015_properties[] = {
1472 .identify_state = af9015_identify_state, 1472 .identify_state = af9015_identify_state,
1473 1473
1474 .rc.core = { 1474 .rc.core = {
1475 .protocol = IR_TYPE_NEC, 1475 .protocol = RC_TYPE_NEC,
1476 .module_name = "af9015", 1476 .module_name = "af9015",
1477 .rc_query = af9015_rc_query, 1477 .rc_query = af9015_rc_query,
1478 .rc_interval = AF9015_RC_INTERVAL, 1478 .rc_interval = AF9015_RC_INTERVAL,
1479 .allowed_protos = IR_TYPE_NEC, 1479 .allowed_protos = RC_TYPE_NEC,
1480 }, 1480 },
1481 1481
1482 .i2c_algo = &af9015_i2c_algo, 1482 .i2c_algo = &af9015_i2c_algo,
@@ -1584,11 +1584,11 @@ static struct dvb_usb_device_properties af9015_properties[] = {
1584 .identify_state = af9015_identify_state, 1584 .identify_state = af9015_identify_state,
1585 1585
1586 .rc.core = { 1586 .rc.core = {
1587 .protocol = IR_TYPE_NEC, 1587 .protocol = RC_TYPE_NEC,
1588 .module_name = "af9015", 1588 .module_name = "af9015",
1589 .rc_query = af9015_rc_query, 1589 .rc_query = af9015_rc_query,
1590 .rc_interval = AF9015_RC_INTERVAL, 1590 .rc_interval = AF9015_RC_INTERVAL,
1591 .allowed_protos = IR_TYPE_NEC, 1591 .allowed_protos = RC_TYPE_NEC,
1592 }, 1592 },
1593 1593
1594 .i2c_algo = &af9015_i2c_algo, 1594 .i2c_algo = &af9015_i2c_algo,
diff --git a/drivers/media/dvb/dvb-usb/anysee.c b/drivers/media/dvb/dvb-usb/anysee.c
index 5e12488f3c76..6b402e943539 100644
--- a/drivers/media/dvb/dvb-usb/anysee.c
+++ b/drivers/media/dvb/dvb-usb/anysee.c
@@ -476,7 +476,7 @@ static struct dvb_usb_device_properties anysee_properties = {
476 476
477 .rc.core = { 477 .rc.core = {
478 .rc_codes = RC_MAP_ANYSEE, 478 .rc_codes = RC_MAP_ANYSEE,
479 .protocol = IR_TYPE_OTHER, 479 .protocol = RC_TYPE_OTHER,
480 .module_name = "anysee", 480 .module_name = "anysee",
481 .rc_query = anysee_rc_query, 481 .rc_query = anysee_rc_query,
482 .rc_interval = 250, /* windows driver uses 500ms */ 482 .rc_interval = 250, /* windows driver uses 500ms */
diff --git a/drivers/media/dvb/dvb-usb/dib0700.h b/drivers/media/dvb/dvb-usb/dib0700.h
index 1e7d780332b5..3537d65c04bc 100644
--- a/drivers/media/dvb/dvb-usb/dib0700.h
+++ b/drivers/media/dvb/dvb-usb/dib0700.h
@@ -60,7 +60,7 @@ extern int dib0700_streaming_ctrl(struct dvb_usb_adapter *adap, int onoff);
60extern struct i2c_algorithm dib0700_i2c_algo; 60extern struct i2c_algorithm dib0700_i2c_algo;
61extern int dib0700_identify_state(struct usb_device *udev, struct dvb_usb_device_properties *props, 61extern int dib0700_identify_state(struct usb_device *udev, struct dvb_usb_device_properties *props,
62 struct dvb_usb_device_description **desc, int *cold); 62 struct dvb_usb_device_description **desc, int *cold);
63extern int dib0700_change_protocol(struct rc_dev *dev, u64 ir_type); 63extern int dib0700_change_protocol(struct rc_dev *dev, u64 rc_type);
64 64
65extern int dib0700_device_count; 65extern int dib0700_device_count;
66extern int dvb_usb_dib0700_ir_proto; 66extern int dvb_usb_dib0700_ir_proto;
diff --git a/drivers/media/dvb/dvb-usb/dib0700_core.c b/drivers/media/dvb/dvb-usb/dib0700_core.c
index 1dd119e7b676..8ca48f76dfa9 100644
--- a/drivers/media/dvb/dvb-usb/dib0700_core.c
+++ b/drivers/media/dvb/dvb-usb/dib0700_core.c
@@ -471,7 +471,7 @@ int dib0700_streaming_ctrl(struct dvb_usb_adapter *adap, int onoff)
471 return dib0700_ctrl_wr(adap->dev, b, 4); 471 return dib0700_ctrl_wr(adap->dev, b, 4);
472} 472}
473 473
474int dib0700_change_protocol(struct rc_dev *rc, u64 ir_type) 474int dib0700_change_protocol(struct rc_dev *rc, u64 rc_type)
475{ 475{
476 struct dvb_usb_device *d = rc->priv; 476 struct dvb_usb_device *d = rc->priv;
477 struct dib0700_state *st = d->priv; 477 struct dib0700_state *st = d->priv;
@@ -479,11 +479,11 @@ int dib0700_change_protocol(struct rc_dev *rc, u64 ir_type)
479 int new_proto, ret; 479 int new_proto, ret;
480 480
481 /* Set the IR mode */ 481 /* Set the IR mode */
482 if (ir_type == IR_TYPE_RC5) 482 if (rc_type == RC_TYPE_RC5)
483 new_proto = 1; 483 new_proto = 1;
484 else if (ir_type == IR_TYPE_NEC) 484 else if (rc_type == RC_TYPE_NEC)
485 new_proto = 0; 485 new_proto = 0;
486 else if (ir_type == IR_TYPE_RC6) { 486 else if (rc_type == RC_TYPE_RC6) {
487 if (st->fw_version < 0x10200) 487 if (st->fw_version < 0x10200)
488 return -EINVAL; 488 return -EINVAL;
489 489
@@ -499,7 +499,7 @@ int dib0700_change_protocol(struct rc_dev *rc, u64 ir_type)
499 return ret; 499 return ret;
500 } 500 }
501 501
502 d->props.rc.core.protocol = ir_type; 502 d->props.rc.core.protocol = rc_type;
503 503
504 return ret; 504 return ret;
505} 505}
@@ -562,7 +562,7 @@ static void dib0700_rc_urb_completion(struct urb *purb)
562 purb->actual_length); 562 purb->actual_length);
563 563
564 switch (d->props.rc.core.protocol) { 564 switch (d->props.rc.core.protocol) {
565 case IR_TYPE_NEC: 565 case RC_TYPE_NEC:
566 toggle = 0; 566 toggle = 0;
567 567
568 /* NEC protocol sends repeat code as 0 0 0 FF */ 568 /* NEC protocol sends repeat code as 0 0 0 FF */
diff --git a/drivers/media/dvb/dvb-usb/dib0700_devices.c b/drivers/media/dvb/dvb-usb/dib0700_devices.c
index 9ac920d0483e..defd83964ce2 100644
--- a/drivers/media/dvb/dvb-usb/dib0700_devices.c
+++ b/drivers/media/dvb/dvb-usb/dib0700_devices.c
@@ -510,7 +510,7 @@ static int dib0700_rc_query_old_firmware(struct dvb_usb_device *d)
510 510
511 d->last_event = 0; 511 d->last_event = 0;
512 switch (d->props.rc.core.protocol) { 512 switch (d->props.rc.core.protocol) {
513 case IR_TYPE_NEC: 513 case RC_TYPE_NEC:
514 /* NEC protocol sends repeat code as 0 0 0 FF */ 514 /* NEC protocol sends repeat code as 0 0 0 FF */
515 if ((key[3-2] == 0x00) && (key[3-3] == 0x00) && 515 if ((key[3-2] == 0x00) && (key[3-3] == 0x00) &&
516 (key[3] == 0xff)) 516 (key[3] == 0xff))
@@ -1924,9 +1924,9 @@ struct dvb_usb_device_properties dib0700_devices[] = {
1924 .rc_interval = DEFAULT_RC_INTERVAL, 1924 .rc_interval = DEFAULT_RC_INTERVAL,
1925 .rc_codes = RC_MAP_DIB0700_RC5_TABLE, 1925 .rc_codes = RC_MAP_DIB0700_RC5_TABLE,
1926 .rc_query = dib0700_rc_query_old_firmware, 1926 .rc_query = dib0700_rc_query_old_firmware,
1927 .allowed_protos = IR_TYPE_RC5 | 1927 .allowed_protos = RC_TYPE_RC5 |
1928 IR_TYPE_RC6 | 1928 RC_TYPE_RC6 |
1929 IR_TYPE_NEC, 1929 RC_TYPE_NEC,
1930 .change_protocol = dib0700_change_protocol, 1930 .change_protocol = dib0700_change_protocol,
1931 }, 1931 },
1932 }, { DIB0700_DEFAULT_DEVICE_PROPERTIES, 1932 }, { DIB0700_DEFAULT_DEVICE_PROPERTIES,
@@ -1958,9 +1958,9 @@ struct dvb_usb_device_properties dib0700_devices[] = {
1958 .rc_interval = DEFAULT_RC_INTERVAL, 1958 .rc_interval = DEFAULT_RC_INTERVAL,
1959 .rc_codes = RC_MAP_DIB0700_RC5_TABLE, 1959 .rc_codes = RC_MAP_DIB0700_RC5_TABLE,
1960 .rc_query = dib0700_rc_query_old_firmware, 1960 .rc_query = dib0700_rc_query_old_firmware,
1961 .allowed_protos = IR_TYPE_RC5 | 1961 .allowed_protos = RC_TYPE_RC5 |
1962 IR_TYPE_RC6 | 1962 RC_TYPE_RC6 |
1963 IR_TYPE_NEC, 1963 RC_TYPE_NEC,
1964 .change_protocol = dib0700_change_protocol, 1964 .change_protocol = dib0700_change_protocol,
1965 }, 1965 },
1966 }, { DIB0700_DEFAULT_DEVICE_PROPERTIES, 1966 }, { DIB0700_DEFAULT_DEVICE_PROPERTIES,
@@ -2017,9 +2017,9 @@ struct dvb_usb_device_properties dib0700_devices[] = {
2017 .rc_interval = DEFAULT_RC_INTERVAL, 2017 .rc_interval = DEFAULT_RC_INTERVAL,
2018 .rc_codes = RC_MAP_DIB0700_RC5_TABLE, 2018 .rc_codes = RC_MAP_DIB0700_RC5_TABLE,
2019 .rc_query = dib0700_rc_query_old_firmware, 2019 .rc_query = dib0700_rc_query_old_firmware,
2020 .allowed_protos = IR_TYPE_RC5 | 2020 .allowed_protos = RC_TYPE_RC5 |
2021 IR_TYPE_RC6 | 2021 RC_TYPE_RC6 |
2022 IR_TYPE_NEC, 2022 RC_TYPE_NEC,
2023 .change_protocol = dib0700_change_protocol, 2023 .change_protocol = dib0700_change_protocol,
2024 }, 2024 },
2025 }, { DIB0700_DEFAULT_DEVICE_PROPERTIES, 2025 }, { DIB0700_DEFAULT_DEVICE_PROPERTIES,
@@ -2059,9 +2059,9 @@ struct dvb_usb_device_properties dib0700_devices[] = {
2059 .rc_codes = RC_MAP_DIB0700_RC5_TABLE, 2059 .rc_codes = RC_MAP_DIB0700_RC5_TABLE,
2060 .module_name = "dib0700", 2060 .module_name = "dib0700",
2061 .rc_query = dib0700_rc_query_old_firmware, 2061 .rc_query = dib0700_rc_query_old_firmware,
2062 .allowed_protos = IR_TYPE_RC5 | 2062 .allowed_protos = RC_TYPE_RC5 |
2063 IR_TYPE_RC6 | 2063 RC_TYPE_RC6 |
2064 IR_TYPE_NEC, 2064 RC_TYPE_NEC,
2065 .change_protocol = dib0700_change_protocol, 2065 .change_protocol = dib0700_change_protocol,
2066 }, 2066 },
2067 }, { DIB0700_DEFAULT_DEVICE_PROPERTIES, 2067 }, { DIB0700_DEFAULT_DEVICE_PROPERTIES,
@@ -2135,9 +2135,9 @@ struct dvb_usb_device_properties dib0700_devices[] = {
2135 .rc_codes = RC_MAP_DIB0700_RC5_TABLE, 2135 .rc_codes = RC_MAP_DIB0700_RC5_TABLE,
2136 .module_name = "dib0700", 2136 .module_name = "dib0700",
2137 .rc_query = dib0700_rc_query_old_firmware, 2137 .rc_query = dib0700_rc_query_old_firmware,
2138 .allowed_protos = IR_TYPE_RC5 | 2138 .allowed_protos = RC_TYPE_RC5 |
2139 IR_TYPE_RC6 | 2139 RC_TYPE_RC6 |
2140 IR_TYPE_NEC, 2140 RC_TYPE_NEC,
2141 .change_protocol = dib0700_change_protocol, 2141 .change_protocol = dib0700_change_protocol,
2142 }, 2142 },
2143 }, { DIB0700_DEFAULT_DEVICE_PROPERTIES, 2143 }, { DIB0700_DEFAULT_DEVICE_PROPERTIES,
@@ -2179,9 +2179,9 @@ struct dvb_usb_device_properties dib0700_devices[] = {
2179 .rc_codes = RC_MAP_DIB0700_RC5_TABLE, 2179 .rc_codes = RC_MAP_DIB0700_RC5_TABLE,
2180 .module_name = "dib0700", 2180 .module_name = "dib0700",
2181 .rc_query = dib0700_rc_query_old_firmware, 2181 .rc_query = dib0700_rc_query_old_firmware,
2182 .allowed_protos = IR_TYPE_RC5 | 2182 .allowed_protos = RC_TYPE_RC5 |
2183 IR_TYPE_RC6 | 2183 RC_TYPE_RC6 |
2184 IR_TYPE_NEC, 2184 RC_TYPE_NEC,
2185 .change_protocol = dib0700_change_protocol, 2185 .change_protocol = dib0700_change_protocol,
2186 }, 2186 },
2187 }, { DIB0700_DEFAULT_DEVICE_PROPERTIES, 2187 }, { DIB0700_DEFAULT_DEVICE_PROPERTIES,
@@ -2247,9 +2247,9 @@ struct dvb_usb_device_properties dib0700_devices[] = {
2247 .rc_codes = RC_MAP_DIB0700_RC5_TABLE, 2247 .rc_codes = RC_MAP_DIB0700_RC5_TABLE,
2248 .module_name = "dib0700", 2248 .module_name = "dib0700",
2249 .rc_query = dib0700_rc_query_old_firmware, 2249 .rc_query = dib0700_rc_query_old_firmware,
2250 .allowed_protos = IR_TYPE_RC5 | 2250 .allowed_protos = RC_TYPE_RC5 |
2251 IR_TYPE_RC6 | 2251 RC_TYPE_RC6 |
2252 IR_TYPE_NEC, 2252 RC_TYPE_NEC,
2253 .change_protocol = dib0700_change_protocol, 2253 .change_protocol = dib0700_change_protocol,
2254 }, 2254 },
2255 }, { DIB0700_DEFAULT_DEVICE_PROPERTIES, 2255 }, { DIB0700_DEFAULT_DEVICE_PROPERTIES,
@@ -2294,9 +2294,9 @@ struct dvb_usb_device_properties dib0700_devices[] = {
2294 .rc_codes = RC_MAP_DIB0700_NEC_TABLE, 2294 .rc_codes = RC_MAP_DIB0700_NEC_TABLE,
2295 .module_name = "dib0700", 2295 .module_name = "dib0700",
2296 .rc_query = dib0700_rc_query_old_firmware, 2296 .rc_query = dib0700_rc_query_old_firmware,
2297 .allowed_protos = IR_TYPE_RC5 | 2297 .allowed_protos = RC_TYPE_RC5 |
2298 IR_TYPE_RC6 | 2298 RC_TYPE_RC6 |
2299 IR_TYPE_NEC, 2299 RC_TYPE_NEC,
2300 .change_protocol = dib0700_change_protocol, 2300 .change_protocol = dib0700_change_protocol,
2301 }, 2301 },
2302 }, { DIB0700_DEFAULT_DEVICE_PROPERTIES, 2302 }, { DIB0700_DEFAULT_DEVICE_PROPERTIES,
@@ -2363,9 +2363,9 @@ struct dvb_usb_device_properties dib0700_devices[] = {
2363 .rc_codes = RC_MAP_DIB0700_RC5_TABLE, 2363 .rc_codes = RC_MAP_DIB0700_RC5_TABLE,
2364 .module_name = "dib0700", 2364 .module_name = "dib0700",
2365 .rc_query = dib0700_rc_query_old_firmware, 2365 .rc_query = dib0700_rc_query_old_firmware,
2366 .allowed_protos = IR_TYPE_RC5 | 2366 .allowed_protos = RC_TYPE_RC5 |
2367 IR_TYPE_RC6 | 2367 RC_TYPE_RC6 |
2368 IR_TYPE_NEC, 2368 RC_TYPE_NEC,
2369 .change_protocol = dib0700_change_protocol, 2369 .change_protocol = dib0700_change_protocol,
2370 }, 2370 },
2371 }, { DIB0700_DEFAULT_DEVICE_PROPERTIES, 2371 }, { DIB0700_DEFAULT_DEVICE_PROPERTIES,
@@ -2399,9 +2399,9 @@ struct dvb_usb_device_properties dib0700_devices[] = {
2399 .rc_codes = RC_MAP_DIB0700_RC5_TABLE, 2399 .rc_codes = RC_MAP_DIB0700_RC5_TABLE,
2400 .module_name = "dib0700", 2400 .module_name = "dib0700",
2401 .rc_query = dib0700_rc_query_old_firmware, 2401 .rc_query = dib0700_rc_query_old_firmware,
2402 .allowed_protos = IR_TYPE_RC5 | 2402 .allowed_protos = RC_TYPE_RC5 |
2403 IR_TYPE_RC6 | 2403 RC_TYPE_RC6 |
2404 IR_TYPE_NEC, 2404 RC_TYPE_NEC,
2405 .change_protocol = dib0700_change_protocol, 2405 .change_protocol = dib0700_change_protocol,
2406 }, 2406 },
2407 }, { DIB0700_DEFAULT_DEVICE_PROPERTIES, 2407 }, { DIB0700_DEFAULT_DEVICE_PROPERTIES,
@@ -2467,9 +2467,9 @@ struct dvb_usb_device_properties dib0700_devices[] = {
2467 .rc_codes = RC_MAP_DIB0700_RC5_TABLE, 2467 .rc_codes = RC_MAP_DIB0700_RC5_TABLE,
2468 .module_name = "dib0700", 2468 .module_name = "dib0700",
2469 .rc_query = dib0700_rc_query_old_firmware, 2469 .rc_query = dib0700_rc_query_old_firmware,
2470 .allowed_protos = IR_TYPE_RC5 | 2470 .allowed_protos = RC_TYPE_RC5 |
2471 IR_TYPE_RC6 | 2471 RC_TYPE_RC6 |
2472 IR_TYPE_NEC, 2472 RC_TYPE_NEC,
2473 .change_protocol = dib0700_change_protocol, 2473 .change_protocol = dib0700_change_protocol,
2474 }, 2474 },
2475 }, { DIB0700_DEFAULT_DEVICE_PROPERTIES, 2475 }, { DIB0700_DEFAULT_DEVICE_PROPERTIES,
@@ -2511,9 +2511,9 @@ struct dvb_usb_device_properties dib0700_devices[] = {
2511 .rc_codes = RC_MAP_DIB0700_NEC_TABLE, 2511 .rc_codes = RC_MAP_DIB0700_NEC_TABLE,
2512 .module_name = "dib0700", 2512 .module_name = "dib0700",
2513 .rc_query = dib0700_rc_query_old_firmware, 2513 .rc_query = dib0700_rc_query_old_firmware,
2514 .allowed_protos = IR_TYPE_RC5 | 2514 .allowed_protos = RC_TYPE_RC5 |
2515 IR_TYPE_RC6 | 2515 RC_TYPE_RC6 |
2516 IR_TYPE_NEC, 2516 RC_TYPE_NEC,
2517 .change_protocol = dib0700_change_protocol, 2517 .change_protocol = dib0700_change_protocol,
2518 }, 2518 },
2519 }, { DIB0700_DEFAULT_DEVICE_PROPERTIES, 2519 }, { DIB0700_DEFAULT_DEVICE_PROPERTIES,
@@ -2560,9 +2560,9 @@ struct dvb_usb_device_properties dib0700_devices[] = {
2560 .rc_codes = RC_MAP_DIB0700_RC5_TABLE, 2560 .rc_codes = RC_MAP_DIB0700_RC5_TABLE,
2561 .module_name = "dib0700", 2561 .module_name = "dib0700",
2562 .rc_query = dib0700_rc_query_old_firmware, 2562 .rc_query = dib0700_rc_query_old_firmware,
2563 .allowed_protos = IR_TYPE_RC5 | 2563 .allowed_protos = RC_TYPE_RC5 |
2564 IR_TYPE_RC6 | 2564 RC_TYPE_RC6 |
2565 IR_TYPE_NEC, 2565 RC_TYPE_NEC,
2566 .change_protocol = dib0700_change_protocol, 2566 .change_protocol = dib0700_change_protocol,
2567 }, 2567 },
2568 }, { DIB0700_DEFAULT_DEVICE_PROPERTIES, 2568 }, { DIB0700_DEFAULT_DEVICE_PROPERTIES,
@@ -2597,9 +2597,9 @@ struct dvb_usb_device_properties dib0700_devices[] = {
2597 .rc_codes = RC_MAP_DIB0700_RC5_TABLE, 2597 .rc_codes = RC_MAP_DIB0700_RC5_TABLE,
2598 .module_name = "dib0700", 2598 .module_name = "dib0700",
2599 .rc_query = dib0700_rc_query_old_firmware, 2599 .rc_query = dib0700_rc_query_old_firmware,
2600 .allowed_protos = IR_TYPE_RC5 | 2600 .allowed_protos = RC_TYPE_RC5 |
2601 IR_TYPE_RC6 | 2601 RC_TYPE_RC6 |
2602 IR_TYPE_NEC, 2602 RC_TYPE_NEC,
2603 .change_protocol = dib0700_change_protocol, 2603 .change_protocol = dib0700_change_protocol,
2604 }, 2604 },
2605 }, 2605 },
diff --git a/drivers/media/dvb/dvb-usb/dvb-usb.h b/drivers/media/dvb/dvb-usb/dvb-usb.h
index 18828cb282c4..95b1603d5be8 100644
--- a/drivers/media/dvb/dvb-usb/dvb-usb.h
+++ b/drivers/media/dvb/dvb-usb/dvb-usb.h
@@ -190,7 +190,7 @@ struct dvb_rc {
190 char *rc_codes; 190 char *rc_codes;
191 u64 protocol; 191 u64 protocol;
192 u64 allowed_protos; 192 u64 allowed_protos;
193 int (*change_protocol)(struct rc_dev *dev, u64 ir_type); 193 int (*change_protocol)(struct rc_dev *dev, u64 rc_type);
194 char *module_name; 194 char *module_name;
195 int (*rc_query) (struct dvb_usb_device *d); 195 int (*rc_query) (struct dvb_usb_device *d);
196 int rc_interval; 196 int rc_interval;
diff --git a/drivers/media/dvb/mantis/mantis_input.c b/drivers/media/dvb/mantis/mantis_input.c
index e030b18ad6d9..cf5f8ca6f685 100644
--- a/drivers/media/dvb/mantis/mantis_input.c
+++ b/drivers/media/dvb/mantis/mantis_input.c
@@ -99,7 +99,7 @@ static struct rc_keymap ir_mantis_map = {
99 .map = { 99 .map = {
100 .scan = mantis_ir_table, 100 .scan = mantis_ir_table,
101 .size = ARRAY_SIZE(mantis_ir_table), 101 .size = ARRAY_SIZE(mantis_ir_table),
102 .ir_type = IR_TYPE_UNKNOWN, 102 .rc_type = RC_TYPE_UNKNOWN,
103 .name = RC_MAP_MANTIS, 103 .name = RC_MAP_MANTIS,
104 } 104 }
105}; 105};
diff --git a/drivers/media/dvb/siano/smsir.c b/drivers/media/dvb/siano/smsir.c
index ebd73059b518..37bc5c4b8ad8 100644
--- a/drivers/media/dvb/siano/smsir.c
+++ b/drivers/media/dvb/siano/smsir.c
@@ -88,7 +88,7 @@ int sms_ir_init(struct smscore_device_t *coredev)
88 88
89 dev->priv = coredev; 89 dev->priv = coredev;
90 dev->driver_type = RC_DRIVER_IR_RAW; 90 dev->driver_type = RC_DRIVER_IR_RAW;
91 dev->allowed_protos = IR_TYPE_ALL; 91 dev->allowed_protos = RC_TYPE_ALL;
92 dev->map_name = sms_get_board(board_id)->rc_codes; 92 dev->map_name = sms_get_board(board_id)->rc_codes;
93 dev->driver_name = MODULE_NAME; 93 dev->driver_name = MODULE_NAME;
94 94