diff options
author | Jiada Wang <jiada_wang@mentor.com> | 2019-03-07 07:15:54 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-03-11 17:59:04 +0100 |
commit | 399706df420ea8bc8b31283a919e6475f737d0ea (patch) | |
tree | f92538000089327581f8f369c7176663c2c802a2 /sound/soc/codecs | |
parent | ASoC: rsnd: src: Avoid a potential deadlock (diff) | |
download | linux-399706df420ea8bc8b31283a919e6475f737d0ea.tar.xz linux-399706df420ea8bc8b31283a919e6475f737d0ea.zip |
ASoC: rsnd: src: fix compiler warnings
compiler complains about following declarations
sound/soc/sh/rcar/src.c:174:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
const static u32 bsdsr_table_pattern1[] = {
^~~~~
sound/soc/sh/rcar/src.c:183:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
const static u32 bsdsr_table_pattern2[] = {
^~~~~
sound/soc/sh/rcar/src.c:192:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
const static u32 bsisr_table[] = {
^~~~~
sound/soc/sh/rcar/src.c:201:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
const static u32 chan288888[] = {
^~~~~
sound/soc/sh/rcar/src.c:210:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
const static u32 chan244888[] = {
^~~~~
sound/soc/sh/rcar/src.c:219:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
const static u32 chan222222[] = {
^~~~~
This patch moves the 'static' keyword to the front of the
declaration to fix the compiler warnings
Fixes: linux-next commit 7674bec4fc09 ("ASoC: rsnd: update BSDSR/BSDISR handling")
Signed-off-by: Jiada Wang <jiada_wang@mentor.com>
Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs')
0 files changed, 0 insertions, 0 deletions