OSDN Git Service

ASoC: fsl_spdif: make const arrays rate static
authorColin Ian King <colin.king@canonical.com>
Sun, 3 Sep 2017 13:54:08 +0000 (14:54 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 4 Sep 2017 12:40:45 +0000 (13:40 +0100)
commit2db5f9e9fa0ebc3c023f7ac906946a3eef8f5498
treebcecea45cd7f3c0fb5d65282288bde027ca2a993
parentb1dc00abcf18d27b36de500c150be88022c82270
ASoC: fsl_spdif: make const arrays rate static

Don't populate the const arrays rate on the stack, instead make them
static. Makes the object code smaller by 220 bytes:

Before:
   text    data     bss     dec     hex filename
  24385    9776     128   34289    85f1 sound/soc/fsl/fsl_spdif.o

After:
   text    data     bss     dec     hex filename
  24005    9936     128   34069    8515 sound/soc/fsl/fsl_spdif.o

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/fsl_spdif.c