diff options
-rw-r--r-- | drivers/media/video/cx231xx/cx231xx-cards.c | 2 | ||||
-rw-r--r-- | drivers/media/video/cx231xx/cx231xx-input.c | 4 | ||||
-rw-r--r-- | drivers/media/video/cx231xx/cx231xx.h | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/drivers/media/video/cx231xx/cx231xx-cards.c b/drivers/media/video/cx231xx/cx231xx-cards.c index 83772eb8e391..2b6101763355 100644 --- a/drivers/media/video/cx231xx/cx231xx-cards.c +++ b/drivers/media/video/cx231xx/cx231xx-cards.c | |||
@@ -412,7 +412,7 @@ struct cx231xx_board cx231xx_boards[] = { | |||
412 | .tuner_i2c_master = 2, | 412 | .tuner_i2c_master = 2, |
413 | .demod_i2c_master = 1, | 413 | .demod_i2c_master = 1, |
414 | .ir_i2c_master = 2, | 414 | .ir_i2c_master = 2, |
415 | .rc_map = RC_MAP_PIXELVIEW_NEW, | 415 | .rc_map_name = RC_MAP_PIXELVIEW_NEW, |
416 | .has_dvb = 1, | 416 | .has_dvb = 1, |
417 | .demod_addr = 0x10, | 417 | .demod_addr = 0x10, |
418 | .norm = V4L2_STD_PAL_M, | 418 | .norm = V4L2_STD_PAL_M, |
diff --git a/drivers/media/video/cx231xx/cx231xx-input.c b/drivers/media/video/cx231xx/cx231xx-input.c index 65d951e03c17..1d043ed1bc32 100644 --- a/drivers/media/video/cx231xx/cx231xx-input.c +++ b/drivers/media/video/cx231xx/cx231xx-input.c | |||
@@ -57,7 +57,7 @@ int cx231xx_ir_init(struct cx231xx *dev) | |||
57 | dev_dbg(&dev->udev->dev, "%s\n", __func__); | 57 | dev_dbg(&dev->udev->dev, "%s\n", __func__); |
58 | 58 | ||
59 | /* Only initialize if a rc keycode map is defined */ | 59 | /* Only initialize if a rc keycode map is defined */ |
60 | if (!cx231xx_boards[dev->model].rc_map) | 60 | if (!cx231xx_boards[dev->model].rc_map_name) |
61 | return -ENODEV; | 61 | return -ENODEV; |
62 | 62 | ||
63 | request_module("ir-kbd-i2c"); | 63 | request_module("ir-kbd-i2c"); |
@@ -80,7 +80,7 @@ int cx231xx_ir_init(struct cx231xx *dev) | |||
80 | * an i2c device. | 80 | * an i2c device. |
81 | */ | 81 | */ |
82 | dev->init_data.get_key = get_key_isdbt; | 82 | dev->init_data.get_key = get_key_isdbt; |
83 | dev->init_data.ir_codes = cx231xx_boards[dev->model].rc_map; | 83 | dev->init_data.ir_codes = cx231xx_boards[dev->model].rc_map_name; |
84 | /* The i2c micro-controller only outputs the cmd part of NEC protocol */ | 84 | /* The i2c micro-controller only outputs the cmd part of NEC protocol */ |
85 | dev->init_data.rc_dev->scanmask = 0xff; | 85 | dev->init_data.rc_dev->scanmask = 0xff; |
86 | dev->init_data.rc_dev->driver_name = "cx231xx"; | 86 | dev->init_data.rc_dev->driver_name = "cx231xx"; |
diff --git a/drivers/media/video/cx231xx/cx231xx.h b/drivers/media/video/cx231xx/cx231xx.h index 87a20ae6fcc0..709cb87a7762 100644 --- a/drivers/media/video/cx231xx/cx231xx.h +++ b/drivers/media/video/cx231xx/cx231xx.h | |||
@@ -349,7 +349,7 @@ struct cx231xx_board { | |||
349 | u8 ir_i2c_master; | 349 | u8 ir_i2c_master; |
350 | 350 | ||
351 | /* for devices with I2C chips for IR */ | 351 | /* for devices with I2C chips for IR */ |
352 | char *rc_map; | 352 | char *rc_map_name; |
353 | 353 | ||
354 | unsigned int max_range_640_480:1; | 354 | unsigned int max_range_640_480:1; |
355 | unsigned int has_dvb:1; | 355 | unsigned int has_dvb:1; |