On 5/15/2013 1:49 AM, Lars-Peter Clausen wrote:
The spdif_in_dai struct is not used outside of spdif_in.c, so make it static.
Cc: Rajeev Kumarrajeev-dlh.kumar@st.com Signed-off-by: Lars-Peter Clausenlars@metafoo.de
sound/soc/spear/spdif_in.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/spear/spdif_in.c b/sound/soc/spear/spdif_in.c index 643ada6..f0071dd 100644 --- a/sound/soc/spear/spdif_in.c +++ b/sound/soc/spear/spdif_in.c @@ -152,7 +152,7 @@ static struct snd_soc_dai_ops spdif_in_dai_ops = { .hw_params = spdif_in_hw_params, };
-struct snd_soc_dai_driver spdif_in_dai = { +static struct snd_soc_dai_driver spdif_in_dai = { .probe = spdif_in_dai_probe, .capture = { .channels_min = 2,
Acked-by: Rajeev Kumar rajeev-dlh.kumar@st.com