media: drxd: make const arrays slowIncrDecLUT and fastIncrDecLUT static
authorColin Ian King <colin.king@canonical.com>
Thu, 13 Jul 2017 11:34:28 +0000 (07:34 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Thu, 20 Jul 2017 19:07:28 +0000 (15:07 -0400)
commit7f0337086e4564ccdc4ed3ba15747f6e9fb4cf71
tree551479839c272d82e60b31a5b2956f58e72af880
parentbd2355b8efc684e3ab74f8a5284d1dfaa9384056
media: drxd: make const arrays slowIncrDecLUT and fastIncrDecLUT static

Don't populate arrays slowIncrDecLUT and fastIncrDecLUT on the stack but
instead make them static. Makes the object code smaller by over 100 bytes:

   text    data     bss     dec     hex filename
  27776     832      64   28672    7000 drxd_hard.o

   text    data     bss     dec     hex filename
  27530     976      64   28570    6f9a drxd_hard.o

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/dvb-frontends/drxd_hard.c