Skip to content

Commit 1b12556

Browse files
larsclausenDinh Nguyen
authored andcommitted
ASoC: rcar ctu: Staticise local symbols
rsnd_of_parse_ctu() is not used outside this file so it can be static. Fixes the following sparse warning: sound/soc/sh/rcar/ctu.c:72:6: warning: symbol 'rsnd_of_parse_ctu' was not declared. Should it be static? Signed-off-by: Lars-Peter Clausen <[email protected]> Acked-by: Kuninori Morimoto <[email protected]> Signed-off-by: Mark Brown <[email protected]> (cherry picked from commit e773c2f) Signed-off-by: Simon Horman <[email protected]>
1 parent 3bcb636 commit 1b12556

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sound/soc/sh/rcar/ctu.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ struct rsnd_mod *rsnd_ctu_mod_get(struct rsnd_priv *priv, int id)
6969
return &((struct rsnd_ctu *)(priv->ctu) + id)->mod;
7070
}
7171

72-
void rsnd_of_parse_ctu(struct platform_device *pdev,
72+
static void rsnd_of_parse_ctu(struct platform_device *pdev,
7373
const struct rsnd_of_data *of_data,
7474
struct rsnd_priv *priv)
7575
{

0 commit comments

Comments
 (0)