alistair23-linux/drivers/media/pci/ttpci
Bhumika Goyal 650497f1ef [media] media: pci: constify stv0299_config structures
Declare stv0299_config structures as const as they are only passed as
an argument to the function dvb_attach. dvb_attach
calls its first argument on the rest of its arguments. The first
argument of dvb_attach in the changed cases is stv0299_attach and
the parameter of this function to which the object references are passed
is of type const. So, stv0299_config structures having this property
can be made const.

First line shows the file size before patching and second one shows size
after patching.

   text	   data	    bss	    dec	    hex	filename
   9572	    926	     40	  10538	   292a media/pci/dm1105/dm1105.o
   9636	    862	     40	  10538	   292a media/pci/dm1105/dm1105.o

  15133	   5408	      0	  20541	   503d	media/pci/ttpci/budget-av.o
  15389	   5152	      0	  20541	   503d media/pci/ttpci/budget-av.o

  15703	   2326	     36	  18065	   4691	media/pci/ttpci/budget-ci.o
  15767	   2262	     36	  18065	   4691 media/pci/ttpci/budget-ci.o

  10555	   1918	      4	  12477	   30bd	drivers/media/pci/ttpci/budget.o
  10683	   1822	      4	  12509	   30dd	drivers/media/pci/ttpci/budget.o

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-04-17 13:04:18 -03:00
..
av7110.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
av7110.h [media] ttpci: cleanup debug macros and remove dead code 2016-11-18 09:40:43 -02:00
av7110_av.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
av7110_av.h [media] av7110: don't allow negative volumes 2015-11-17 14:36:39 -02:00
av7110_ca.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
av7110_ca.h
av7110_hw.c [media] ttpci: address stringop overflow warning 2017-02-08 11:46:07 -02:00
av7110_hw.h [media] ttpci: address stringop overflow warning 2017-02-08 11:46:07 -02:00
av7110_ipack.c
av7110_ipack.h
av7110_ir.c [media] av7110: use setup_timer 2017-04-10 14:55:37 -03:00
av7110_v4l.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
budget-av.c [media] media: pci: constify stv0299_config structures 2017-04-17 13:04:18 -03:00
budget-ci.c [media] media: pci: constify stv0299_config structures 2017-04-17 13:04:18 -03:00
budget-core.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
budget-patch.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
budget.c [media] media: pci: constify stv0299_config structures 2017-04-17 13:04:18 -03:00
budget.h [media] ttpci: cleanup debug macros and remove dead code 2016-11-18 09:40:43 -02:00
dvb_filter.c [media] dvb_filter: use KERN_CONT where needed 2016-10-21 08:44:56 -02:00
dvb_filter.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
Kconfig [media] media: ttpci: fix av7110 build to be compatible with CONFIG_INPUT_EVDEV 2014-08-21 15:25:38 -05:00
Makefile [media] dvb-core: move dvb_filter out of the DVB core 2016-10-21 08:44:08 -02:00
ttpci-eeprom.c [media] ttpci: don't break long lines 2016-10-21 09:29:43 -02:00
ttpci-eeprom.h