media: pci: make i2c_adapter const
authorBhumika Goyal <bhumirks@gmail.com>
Sat, 19 Aug 2017 10:34:13 +0000 (06:34 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Sat, 26 Aug 2017 12:41:15 +0000 (08:41 -0400)
commite5fffebe6d39cf8ad0a7628822d9c3a519523135
treee3fdacb582087a6309c1735bb698ae247c380c7e
parentea9b0f31c1acd35b6905dbfa7dd19c01592470f6
media: pci: make i2c_adapter const

Make these const as they are only used in a copy operation.
Done using Coccinelle

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/pci/cobalt/cobalt-i2c.c
drivers/media/pci/cx18/cx18-i2c.c
drivers/media/pci/cx23885/cx23885-i2c.c
drivers/media/pci/cx25821/cx25821-i2c.c
drivers/media/pci/ivtv/ivtv-i2c.c
drivers/media/pci/netup_unidvb/netup_unidvb_i2c.c
drivers/media/pci/saa7134/saa7134-i2c.c
drivers/media/pci/saa7164/saa7164-i2c.c