1
0
Fork 0
remarkable-linux/drivers/media/common
Bhumika Goyal c5db7475a8 [media] b2c2: constify nxt200x_config structure
Declare nxt200x_config structure as const as it is 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 case is nxt200x_attach and the parameter of
this function to which the object reference is passed is of type
const. So, nxt200x_config structures having this property can be made
const.

File size before:
   text	   data	    bss	    dec	    hex	filename
   7566	    568	      0	   8134	   1fc6	common/b2c2/flexcop-fe-tuner.o

File size after:
   text	   data	    bss	    dec	    hex	filename
   7582	    536	      0	   8118	   1fb6	common/b2c2/flexcop-fe-tuner.o

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-04-17 12:18:18 -03:00
..
b2c2 [media] b2c2: constify nxt200x_config structure 2017-04-17 12:18:18 -03:00
saa7146 [media] saa7146: use setup_timer 2017-04-10 14:46:12 -03:00
siano [media] rc-main: assign driver type during allocation 2017-01-30 13:59:57 -02:00
v4l2-tpg [media] v4l2-tpg: don't clamp XV601/709 to lim range 2017-04-10 14:58:06 -03:00
Kconfig [media] tpg: Export the tpg code from vivid as a module 2016-04-20 16:14:39 -03:00
Makefile [media] tpg: Export the tpg code from vivid as a module 2016-04-20 16:14:39 -03:00
btcx-risc.h [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00
cx2341x.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
cypress_firmware.c [media] media: change email address 2016-01-25 12:01:08 -02:00
cypress_firmware.h [media] media: change email address 2016-01-25 12:01:08 -02:00
tveeprom.c [media] tveeprom: get rid of unused arg on tveeprom_hauppauge_analog() 2017-03-03 07:35:02 -03:00