[media] cx231xx: add addr for demod and make i2c_devs const
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Sun, 2 Nov 2014 10:53:25 +0000 (07:53 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 3 Nov 2014 17:58:45 +0000 (15:58 -0200)
I2C address 0x10 is the demod. While here, make the array const.

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/usb/cx231xx/cx231xx-i2c.c

index c4dc13afbe052d8ac4df6fff790620d3c8aa5e02..87b26157cad0ae4a175b0e2fda746399b91f251c 100644 (file)
@@ -471,7 +471,8 @@ static struct i2c_adapter cx231xx_adap_template = {
  * i2c_devs
  * incomplete list of known devices
  */
-static char *i2c_devs[128] = {
+static const char *i2c_devs[128] = {
+       [0x20 >> 1] = "demod",
        [0x60 >> 1] = "colibri",
        [0x88 >> 1] = "hammerhead",
        [0x8e >> 1] = "CIR",