linux-sg2042/drivers/video/fbdev/sis
Colin Ian King b90b3eca16 video: fbdev: sis: make const array specialtv static, reduces object code size
Don't populate the const array specialtv on the stack, instead make it
static.  Makes the object code smaller by over 1100 bytes:

Before:
   text	   data	    bss	    dec	    hex	filename
 179899	   7504	      0	 187403	  2dc0b	drivers/video/fbdev/sis/init301.o

After:
   text	   data	    bss	    dec	    hex	filename
 178720	   7568	      0	 186288	  2d7b0	drivers/video/fbdev/sis/init301.o

(gcc version 7.2.0, x86_64)

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Cc: Thomas Winischhofer <thomas@winischhofer.net>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
2017-10-12 18:18:23 +02:00
..
300vtbl.h
310vtbl.h
Makefile
init.c drivers/video/fbdev/sis: Add missing else 2014-07-01 13:32:31 +03:00
init.h
init301.c video: fbdev: sis: make const array specialtv static, reduces object code size 2017-10-12 18:18:23 +02:00
init301.h
initdef.h
initextlfb.c
oem300.h
oem310.h
sis.h video: fbdev: sisfb: use arch_phys_wc_add() and ioremap_wc() 2015-06-03 12:41:50 +03:00
sis_accel.c
sis_accel.h
sis_main.c video: fbdev: sisfb: use arch_phys_wc_add() and ioremap_wc() 2015-06-03 12:41:50 +03:00
sis_main.h
vgatypes.h
vstruct.h