media: usb: make i2c_algorithm const
authorBhumika Goyal <bhumirks@gmail.com>
Fri, 18 Aug 2017 16:06:58 +0000 (12:06 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Sat, 26 Aug 2017 12:40:01 +0000 (08:40 -0400)
commitd746cf89b4b7e60f5b7239b3ef8e8af01d11f604
tree537c87676c2f5835b91d85e1e68b89aaeb2c1e1d
parent43298e768cfc2b9c810e55425e948bf6f767cc75
media: usb: make i2c_algorithm const

Make these const as they are only used in a copy operation or
are stored in the algo field of i2c_adapter structure, which is const.

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Acked-by: Mike Isely <isely@pobox.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/usb/au0828/au0828-i2c.c
drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c