]> asedeno.scripts.mit.edu Git - linux.git/commit
media: drxj: make several const arrays static
authorColin Ian King <colin.king@canonical.com>
Thu, 13 Jul 2017 11:44:03 +0000 (07:44 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Thu, 20 Jul 2017 19:07:50 +0000 (15:07 -0400)
commit679cfbb158912ea94c0f450f729124c49826f137
treeec7ce400620bdf18260cb5481b23a4dac0ccbd55
parent7f0337086e4564ccdc4ed3ba15747f6e9fb4cf71
media: drxj: make several const arrays static

Don't populate const arrays on the stack but instead make them static.
Makes the object code smaller by over 1800 bytes:

Before:
   text    data     bss     dec     hex filename
  94100    9160       0  103260   1935c drxj.o

After:
   text    data     bss     dec     hex filename
  91044   10400       0  101444   18c44 drxj.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/drx39xyj/drxj.c