summaryrefslogtreecommitdiffstats
path: root/drivers/video/fbdev/pxa3xx-gcu.c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2017-10-12 18:28:26 +0200
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>2017-10-12 18:28:26 +0200
commit0c09dd051b0cb9cb949cf8582ff7c9b10bfdfb0f (patch)
treea5d8036754ef252057b0ccb0b049c3e437af33da /drivers/video/fbdev/pxa3xx-gcu.c
parentvideo: fbdev: dnfb: make fb_var_screeninfo static and const (diff)
downloadlinux-0c09dd051b0cb9cb949cf8582ff7c9b10bfdfb0f.tar.xz
linux-0c09dd051b0cb9cb949cf8582ff7c9b10bfdfb0f.zip
video: fbdev: radeon: make const array post_divs static, reduces object code size
Don't populate the read-only const array post_divs on the stack, instead make it static. Makes the object code smaller by 90 bytes: Before: text data bss dec hex filename 40231 8584 896 49711 c22f radeon_base.o After: text data bss dec hex filename 39914 8744 960 49618 c1d2 radeon_base.o (gcc version 7.2.0, x86_64) Signed-off-by: Colin Ian King <colin.king@canonical.com> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Diffstat (limited to 'drivers/video/fbdev/pxa3xx-gcu.c')
0 files changed, 0 insertions, 0 deletions