]> git.baikalelectronics.ru Git - kernel.git/commit
media: staging: media: atomisp: constify video_subdev structures
authorJulia Lawall <Julia.Lawall@lip6.fr>
Tue, 8 Aug 2017 10:58:29 +0000 (06:58 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 9 Aug 2017 14:53:47 +0000 (10:53 -0400)
commit634a8b691afcbab4e38ef891b793b8fdfbcee1d7
tree4e80f3877de1cecb5337991f35a8d481a1f2ebf3
parentffa9a58288b627857f18a34ab72fb9a9570914f5
media: staging: media: atomisp: constify video_subdev structures

These structures are both stored in fields of v4l2_subdev_ops
structures, all of which are const, so these structures can be
const as well.

Done with the help of Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/staging/media/atomisp/i2c/ap1302.c
drivers/staging/media/atomisp/i2c/mt9m114.c