[media] cx231xx: Fix i2c support at cx231xx-input
authorMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 11 Nov 2010 11:14:16 +0000 (08:14 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 29 Dec 2010 10:16:38 +0000 (08:16 -0200)
commit141bb0dc2d0ad03202aef7c070555cd970ca6bf9
tree7a90847af8e37a438e4b3ccdcf24c9d3c63c3149
parent2eb258327722de3ed4d84ce1b9add2bad21a0ec4
[media] cx231xx: Fix i2c support at cx231xx-input

There was a bug at cx231xx-input, where it were registering the remote
controls twice, one via ir-kbd-i2c and another directly.
Also, the patch that added rc_register_device() broke compilation for it.

This patch fixes cx231xx-input by fixing the depends on, to point to the
new symbol, and initializing the scanmask via platform_data.

While here, also fix Kconfig symbol change for IR core dependencies.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/cx231xx/Kconfig
drivers/media/video/cx231xx/cx231xx-input.c
drivers/media/video/cx231xx/cx231xx.h