• Jiada Wang's avatar
    ASoC: rsnd: src: fix compiler warnings · 825b22e5
    Jiada Wang authored
    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 7674bec4 ("ASoC: rsnd: update BSDSR/BSDISR handling")
    Signed-off-by: default avatarJiada Wang <jiada_wang@mentor.com>
    Acked-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
    Signed-off-by: default avatarMark Brown <broonie@kernel.org>
    825b22e5
src.c 14.2 KB