mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-13 08:46:45 +07:00
c1f58f1e1e
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> |
||
---|---|---|
.. | ||
300vtbl.h | ||
310vtbl.h | ||
init301.c | ||
init301.h | ||
init.c | ||
init.h | ||
initdef.h | ||
initextlfb.c | ||
Makefile | ||
oem300.h | ||
oem310.h | ||
sis_accel.c | ||
sis_accel.h | ||
sis_main.c | ||
sis_main.h | ||
sis.h | ||
vgatypes.h | ||
vstruct.h |