On 5/15/2013 1:49 AM, Lars-Peter Clausen wrote:
The spdif_soc_dai_probe function is only used in spdif_out.c, so make it static.
Cc: Rajeev Kumarrajeev-dlh.kumar@st.com Signed-off-by: Lars-Peter Clausenlars@metafoo.de
sound/soc/spear/spdif_out.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/spear/spdif_out.c b/sound/soc/spear/spdif_out.c index fd25cc5..4bde512 100644 --- a/sound/soc/spear/spdif_out.c +++ b/sound/soc/spear/spdif_out.c @@ -240,7 +240,7 @@ static const struct snd_kcontrol_new spdif_out_controls[] = { spdif_mute_get, spdif_mute_put), };
-int spdif_soc_dai_probe(struct snd_soc_dai *dai) +static int spdif_soc_dai_probe(struct snd_soc_dai *dai) { struct spdif_out_dev *host = snd_soc_dai_get_drvdata(dai);
Acked-by: Rajeev Kumar rajeev-dlh.kumar@st.com