From: Mark Brown Date: Wed, 9 May 2012 21:14:41 +0000 (+0100) Subject: ASoC: cs42l52: Staticise non-exported symbols X-Git-Tag: v3.5-rc1~13^2~9^2~26 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a7f44885e23070cbb78a06d6e04bb6b687f75c64;p=profile%2Fivi%2Fkernel-adaptation-intel-automotive.git ASoC: cs42l52: Staticise non-exported symbols Makes sparse happy and avoids polluting the global namespace. Signed-off-by: Mark Brown Acked-by: Brian Austin --- diff --git a/sound/soc/codecs/cs42l52.c b/sound/soc/codecs/cs42l52.c index 703060d..a710941 100644 --- a/sound/soc/codecs/cs42l52.c +++ b/sound/soc/codecs/cs42l52.c @@ -919,7 +919,7 @@ static struct snd_soc_dai_ops cs42l52_ops = { .set_sysclk = cs42l52_set_sysclk, }; -struct snd_soc_dai_driver cs42l52_dai = { +static struct snd_soc_dai_driver cs42l52_dai = { .name = "cs42l52", .playback = { .stream_name = "Playback", @@ -1163,7 +1163,7 @@ static int cs42l52_remove(struct snd_soc_codec *codec) return 0; } -struct snd_soc_codec_driver soc_codec_dev_cs42l52 = { +static struct snd_soc_codec_driver soc_codec_dev_cs42l52 = { .probe = cs42l52_probe, .remove = cs42l52_remove, .suspend = cs42l52_suspend,