aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>2014-11-02 05:53:25 -0500
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2014-11-03 12:58:45 -0500
commitec2a387eaf859415038fce698d5954c8ae437854 (patch)
treef1e414c8fae5ebed981512b4380455f1e5216bd9
parent3b795d01c29c94bf1acd019ee6c7ba6b780406b0 (diff)
[media] cx231xx: add addr for demod and make i2c_devs const
I2C address 0x10 is the demod. While here, make the array const. Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
-rw-r--r--drivers/media/usb/cx231xx/cx231xx-i2c.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/usb/cx231xx/cx231xx-i2c.c b/drivers/media/usb/cx231xx/cx231xx-i2c.c
index c4dc13afbe05..87b26157cad0 100644
--- a/drivers/media/usb/cx231xx/cx231xx-i2c.c
+++ b/drivers/media/usb/cx231xx/cx231xx-i2c.c
@@ -471,7 +471,8 @@ static struct i2c_adapter cx231xx_adap_template = {
471 * i2c_devs 471 * i2c_devs
472 * incomplete list of known devices 472 * incomplete list of known devices
473 */ 473 */
474static char *i2c_devs[128] = { 474static const char *i2c_devs[128] = {
475 [0x20 >> 1] = "demod",
475 [0x60 >> 1] = "colibri", 476 [0x60 >> 1] = "colibri",
476 [0x88 >> 1] = "hammerhead", 477 [0x88 >> 1] = "hammerhead",
477 [0x8e >> 1] = "CIR", 478 [0x8e >> 1] = "CIR",