media: staging: fbtft: make const array gamma_par_mask static
authorColin Ian King <colin.king@canonical.com>
Tue, 11 Jul 2017 17:20:02 +0000 (13:20 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Thu, 20 Jul 2017 19:06:08 +0000 (15:06 -0400)
commitd4a06464c20540a2c266a371b1602d300b99f11e
tree4bc933e137453efd0c4f45271bac44d92d5bf945
parent3802c1bc2c127e9396d95a274a6bd6fcb5c9a397
media: 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: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/usb/gspca/xirlink_cit.c
drivers/staging/fbtft/fb_st7789v.c