summaryrefslogtreecommitdiffstats
path: root/drivers/media/radio
diff options
context:
space:
mode:
authorBhumika Goyal <bhumirks@gmail.com>2017-08-19 12:34:14 +0200
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-08-26 14:41:29 +0200
commit9a5c43b3d22f17125044f17256a125d2bd13559d (patch)
tree680cc7d4dfc4896db6c6763dff6c40b01b6d59bb /drivers/media/radio
parentmedia: pci: make i2c_adapter const (diff)
downloadlinux-9a5c43b3d22f17125044f17256a125d2bd13559d.tar.xz
linux-9a5c43b3d22f17125044f17256a125d2bd13559d.zip
media: radio-usb-si4713: make i2c_adapter const
Make this const as it is 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>
Diffstat (limited to 'drivers/media/radio')
-rw-r--r--drivers/media/radio/si4713/radio-usb-si4713.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/radio/si4713/radio-usb-si4713.c b/drivers/media/radio/si4713/radio-usb-si4713.c
index febc9c1e78ff..a115db24667b 100644
--- a/drivers/media/radio/si4713/radio-usb-si4713.c
+++ b/drivers/media/radio/si4713/radio-usb-si4713.c
@@ -409,7 +409,7 @@ static const struct i2c_algorithm si4713_algo = {
/* This name value shows up in the sysfs filename associated
with this I2C adapter */
-static struct i2c_adapter si4713_i2c_adapter_template = {
+static const struct i2c_adapter si4713_i2c_adapter_template = {
.name = "si4713-i2c",
.owner = THIS_MODULE,
.algo = &si4713_algo,