![]() Don't populate const array LCDARefreshIndex on the stack, instead make it static. Makes the object code smaller by 340 bytes: Before: text data bss dec hex filename 84949 12336 0 97285 17c05 drivers/staging/xgifb/vb_setmode.o After: text data bss dec hex filename 84506 12432 0 96938 17aaa drivers/staging/xgifb/vb_setmode.o (gcc version 7.2.0 x86_64) Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
TODO | ||
vb_def.h | ||
vb_init.c | ||
vb_init.h | ||
vb_setmode.c | ||
vb_setmode.h | ||
vb_struct.h | ||
vb_table.h | ||
vb_util.h | ||
vgatypes.h | ||
XGI_main.h | ||
XGI_main_26.c | ||
XGIfb.h |