linux/drivers/video/sis
Peter Huewe c1f58f1e1e video/sis: Annotate SiS_DRAMType as __devinitconst
SiS_DRAMType is const and only used by sisfb_post_300_rwtest which is
marked __devinit we can annotate SiS_DRAMType with __devinitconst and
move it into the file scope in order to not have it created on the
stack.
This patch decreases the compiled module size by about 100bytes.

And since hardcoded values are bad we use ARRAY_SIZE for determining
the size of SiS_DRAMType ;)

Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
2012-05-08 16:58:27 +00:00
..
300vtbl.h
310vtbl.h
Makefile
init.c sisfb: change register I/O functions to use fixed size types 2010-12-22 12:56:46 +09:00
init.h video/sis: Remove unused structs SiS_SDRDRAM_TYPE/SiS_DDRDRAM_TYPE/SiS_DRAMType 2012-05-08 16:58:20 +00:00
init301.c sisfb: eliminate compiler warnings 2010-12-22 12:57:27 +09:00
init301.h sisfb: remove duplicate function declarations 2010-12-22 12:56:41 +09:00
initdef.h
initextlfb.c sisfb: delete osdef.h 2010-11-24 16:03:22 +09:00
oem300.h
oem310.h
sis.h sisfb: add subroutine for detecting XGI Z9 2011-03-22 15:20:30 +09:00
sis_accel.c video/sis/: remove compat code 2008-07-24 10:47:37 -07:00
sis_accel.h
sis_main.c video/sis: Annotate SiS_DRAMType as __devinitconst 2012-05-08 16:58:27 +00:00
sis_main.h video/sis/: remove compat code 2008-07-24 10:47:37 -07:00
vgatypes.h sisfb: add subroutine for detecting XGI Z9 2011-03-22 15:20:30 +09:00
vstruct.h sisfb: delete redudant #define SIS_LINUX_KERNEL 2010-11-24 16:02:51 +09:00