diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2015-07-27 10:56:25 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-07-29 15:06:08 +0100 |
commit | e773c2f964640e103cc75a45aa4555c73ba55c29 (patch) | |
tree | deb0afb736cdc98ea8cb37197ef9456b935573b8 /sound/soc/sh/rcar/ctu.c | |
parent | 48725e9cc841da395bfd74e7691bba91613d3517 (diff) | |
download | op-kernel-dev-e773c2f964640e103cc75a45aa4555c73ba55c29.zip op-kernel-dev-e773c2f964640e103cc75a45aa4555c73ba55c29.tar.gz |
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 <lars@metafoo.de>
Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sh/rcar/ctu.c')
-rw-r--r-- | sound/soc/sh/rcar/ctu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/sh/rcar/ctu.c b/sound/soc/sh/rcar/ctu.c index 05edd20..05498bb 100644 --- a/sound/soc/sh/rcar/ctu.c +++ b/sound/soc/sh/rcar/ctu.c @@ -69,7 +69,7 @@ struct rsnd_mod *rsnd_ctu_mod_get(struct rsnd_priv *priv, int id) return &((struct rsnd_ctu *)(priv->ctu) + id)->mod; } -void rsnd_of_parse_ctu(struct platform_device *pdev, +static void rsnd_of_parse_ctu(struct platform_device *pdev, const struct rsnd_of_data *of_data, struct rsnd_priv *priv) { |