ASoC: hdmi-codec: make const array hdmi_codec_eld_spk_alloc_bits static
authorColin Ian King <colin.king@canonical.com>
Tue, 11 Jul 2017 14:08:55 +0000 (15:08 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 17 Jul 2017 11:05:38 +0000 (12:05 +0100)
commit1d6463a3e23e55621101a1b9b842101988c596ff
tree79022fd2f110a3ac79a05d6f7a5643f02d13f4a8
parentecbb1b8d97a78a72003fcb19292da502d393bf80
ASoC: hdmi-codec: make const array hdmi_codec_eld_spk_alloc_bits static

Don't populate array hdmi_codec_eld_spk_alloc_bits on the stack but
make it static. Makes the object code smaller by over 260 bytes:

Before:
   text    data     bss     dec     hex filename
  10882    3384      64   14330    37fa sound/soc/codecs/hdmi-codec.o

After:
   text    data     bss     dec     hex filename
  10557    3440      64   14061    36ed sound/soc/codecs/hdmi-codec.o

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