ASoC: rsnd: make arrays path and cmd_case static const
authorColin Ian King <colin.king@canonical.com>
Fri, 30 Jun 2017 09:50:59 +0000 (10:50 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 30 Jun 2017 11:45:36 +0000 (12:45 +0100)
commit8288591368fcb470024348a9b846f7b3f791be44
treea0de1b7728c2ec48b5e48e22984508b2dc87b551
parent49ebf13b0453d8535cd53abb514e1683a1875208
ASoC: rsnd: make arrays path and cmd_case static const

Don't populate the arrays path and cmd_case on the stack but make
them static const.  Makes the object code smaller:

Before:
   text    data     bss     dec     hex filename
   2673     624       0    3297     ce1 sound/soc/sh/rcar/cmd.o

After:
   text    data     bss     dec     hex filename
   2398     768       0    3166     c5e sound/soc/sh/rcar/cmd.o

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