diff options
author | Jiada Wang <jiada_wang@mentor.com> | 2019-03-07 11:34:53 +0900 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-03-11 16:31:22 +0000 |
commit | 825b22e5961a47ba7387d3ee6729956d6bb3b495 (patch) | |
tree | 5e9834082f1ab6db9dcf75d203c255ff9ad37d0d /sound/soc/stm/stm32_i2s.c | |
parent | 3146089d235b304e665dc551472ae9cb9ab58572 (diff) | |
download | kernel_replicant_linux-825b22e5961a47ba7387d3ee6729956d6bb3b495.tar.gz kernel_replicant_linux-825b22e5961a47ba7387d3ee6729956d6bb3b495.tar.bz2 kernel_replicant_linux-825b22e5961a47ba7387d3ee6729956d6bb3b495.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/stm/stm32_i2s.c')
0 files changed, 0 insertions, 0 deletions