summaryrefslogtreecommitdiffstats
path: root/drivers/media/pci/cx18/cx18-controls.h
diff options
context:
space:
mode:
authorJulia Lawall <Julia.Lawall@lip6.fr>2015-11-22 18:44:38 +0100
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-12-03 14:27:08 +0100
commit083206fc3f77be550ad3d7666b32b1d360cfe53e (patch)
tree4a2de980133a367827c9f13fb9349791fc703823 /drivers/media/pci/cx18/cx18-controls.h
parent[media] media, sound: tea575x: constify snd_tea575x_ops structures (diff)
downloadlinux-083206fc3f77be550ad3d7666b32b1d360cfe53e.tar.xz
linux-083206fc3f77be550ad3d7666b32b1d360cfe53e.zip
[media] cx231xx: constify cx2341x_handler_ops structures
The cx2341x_handler_ops structures are never modified, so declare them 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>
Diffstat (limited to 'drivers/media/pci/cx18/cx18-controls.h')
-rw-r--r--drivers/media/pci/cx18/cx18-controls.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/pci/cx18/cx18-controls.h b/drivers/media/pci/cx18/cx18-controls.h
index cb5dfc7b2054..326794887863 100644
--- a/drivers/media/pci/cx18/cx18-controls.h
+++ b/drivers/media/pci/cx18/cx18-controls.h
@@ -21,4 +21,4 @@
* 02111-1307 USA
*/
-extern struct cx2341x_handler_ops cx18_cxhdl_ops;
+extern const struct cx2341x_handler_ops cx18_cxhdl_ops;