]> git.karo-electronics.de Git - linux-beck.git/commit
ASoC: rcar: fix 'const static' variables
authorArnd Bergmann <arnd@arndb.de>
Mon, 13 Jun 2016 15:39:46 +0000 (17:39 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 13 Jun 2016 16:45:35 +0000 (17:45 +0100)
commitcc9bdcf2a4f0cedf7b7425a54578a82bf31dd8f9
tree3d0279c26e1869b9e31eb4f80a68fe60358547bc
parent7dc20319660d12d2ef642e572e8802c228b6c1cd
ASoC: rcar: fix 'const static' variables

When building with 'make W=1', we get a harmless warning about
slightly incorrect prototypes in the rcar audio driver:

sound/soc/sh/rcar/gen.c: In function 'rsnd_gen2_probe':
sound/soc/sh/rcar/gen.c:209:2: error: 'static' is not at beginning of declaration [-Werror=old-style-declaration]

This changes the 'const static' to 'static const' as it should be.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sh/rcar/gen.c