summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-05-09 22:14:41 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-05-09 22:56:30 +0100
commita7f44885e23070cbb78a06d6e04bb6b687f75c64 (patch)
treeee82ee7e08a70b8453059b7f673dd63a0107c412 /sound/soc/codecs
parentfdfc4f3eb796896133a4dbcb1c1f94ff02274649 (diff)
downloadblackbird-op-linux-a7f44885e23070cbb78a06d6e04bb6b687f75c64.tar.gz
blackbird-op-linux-a7f44885e23070cbb78a06d6e04bb6b687f75c64.zip
ASoC: cs42l52: Staticise non-exported symbols
Makes sparse happy and avoids polluting the global namespace. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Brian Austin <brian.austin@cirrus.com>
Diffstat (limited to 'sound/soc/codecs')
-rw-r--r--sound/soc/codecs/cs42l52.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/codecs/cs42l52.c b/sound/soc/codecs/cs42l52.c
index 703060daeac4..a7109413aef1 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,
OpenPOWER on IntegriCloud