diff options
Diffstat (limited to 'drivers/media/video/cx231xx/cx231xx-cards.c')
-rw-r--r-- | drivers/media/video/cx231xx/cx231xx-cards.c | 8 |
1 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 c8a32b1b5381..63d2239fd324 100644 --- a/drivers/media/video/cx231xx/cx231xx-cards.c +++ b/drivers/media/video/cx231xx/cx231xx-cards.c | |||
@@ -281,12 +281,12 @@ static void cx231xx_config_tuner(struct cx231xx *dev) | |||
281 | } | 281 | } |
282 | 282 | ||
283 | /* ----------------------------------------------------------------------- */ | 283 | /* ----------------------------------------------------------------------- */ |
284 | void cx231xx_set_ir(struct cx231xx *dev, struct IR_i2c *ir) | 284 | void cx231xx_register_i2c_ir(struct cx231xx *dev) |
285 | { | 285 | { |
286 | if (disable_ir) { | 286 | if (disable_ir) |
287 | ir->get_key = NULL; | ||
288 | return; | 287 | return; |
289 | } | 288 | |
289 | /* REVISIT: instantiate IR device */ | ||
290 | 290 | ||
291 | /* detect & configure */ | 291 | /* detect & configure */ |
292 | switch (dev->model) { | 292 | switch (dev->model) { |