diff options
author | Colin Ian King <colin.king@canonical.com> | 2017-09-22 00:39:59 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-09-22 10:57:22 +0200 |
commit | 821797e06903c53ff1e9be0be3dca651b3483396 (patch) | |
tree | 106a62f423b14b460dc88355717d82b107b9a368 /drivers/iio/chemical/ccs811.c | |
parent | staging: vc04_services: remove BCM2835_VCHIQ_SUPPORT_MEMDUMP (diff) | |
download | linux-821797e06903c53ff1e9be0be3dca651b3483396.tar.xz linux-821797e06903c53ff1e9be0be3dca651b3483396.zip |
staging: xgifb: make const array static to shink object code size
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>
Diffstat (limited to 'drivers/iio/chemical/ccs811.c')
0 files changed, 0 insertions, 0 deletions