staging: fbtft: make const array gamma_par_mask static
commit023eba274911c17ef7a29c133f792af6b1e1e073
authorColin Ian King <colin.king@canonical.com>
Tue, 11 Jul 2017 17:49:27 +0000 (11 18:49 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 16 Jul 2017 06:41:02 +0000 (16 08:41 +0200)
tree2d4f46fa18bfb4ef04a8795a983e74451e71d2c0
parent186882700fa266cd379295bae289097443fa230b
staging: fbtft: make const array gamma_par_mask static

Don't populate array gamma_par_mask on the stack but instead make it
static.  Makes the object code smaller by 148 bytes:

Before:
   text    data     bss     dec     hex filename
   2993    1104       0    4097    1001 drivers/staging/fbtft/fb_st7789v.o

After:
   text    data     bss     dec     hex filename
   2757    1192       0    3949     f6d drivers/staging/fbtft/fb_st7789v.o

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fbtft/fb_st7789v.c