]> git.baikalelectronics.ru Git - kernel.git/commit
[media] drivers/media/usb/as102: constify as102_priv_ops_t structure
authorJulia Lawall <Julia.Lawall@lip6.fr>
Sun, 6 Dec 2015 15:51:38 +0000 (13:51 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 1 Feb 2016 09:31:48 +0000 (07:31 -0200)
commit956190f8ca03fd6d0a9ff9ebc27e25fbdcb183cb
treee51fe3599db02ae9e751dc094fb0010b6c4aa8f5
parentd8648adb19facb79ea0d5083210a783862ac0028
[media] drivers/media/usb/as102: constify as102_priv_ops_t structure

The as102_priv_ops_t structure is never modified, so declare it as
const.

Done with the help of Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/usb/as102/as102_drv.h
drivers/media/usb/as102/as102_usb_drv.c