linux-sg2042/drivers/media/pci/ngene
Julia Lawall db83d08dee [media] constify local structures
For structure types defined in the same file or local header files, find
top-level static structure declarations that have the following
properties:
1. Never reassigned.
2. Address never taken
3. Not passed to a top-level macro call
4. No pointer or array-typed field passed to a function or stored in a
variable.
Declare structures having all of these properties as const.

Done using Coccinelle.
Based on a suggestion by Joe Perches <joe@perches.com>.

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@s-opensource.com>
2016-09-19 16:22:18 -03:00
..
Kconfig
Makefile
ngene-cards.c [media] constify local structures 2016-09-19 16:22:18 -03:00
ngene-core.c [media] dvb: modify core to implement interfaces/entities at MC new gen 2016-01-11 12:18:52 -02:00
ngene-dvb.c [media] ngene: properly handle __user ptr 2014-09-08 10:00:52 -03:00
ngene-i2c.c
ngene.h [media] dvb: Get rid of typedev usage for enums 2015-06-09 17:47:35 -03:00