mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-21 13:24:15 +08:00
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>
This commit is contained in:
parent
fdfc4f3eb7
commit
a7f44885e2
@ -919,7 +919,7 @@ static struct snd_soc_dai_ops cs42l52_ops = {
|
|||||||
.set_sysclk = cs42l52_set_sysclk,
|
.set_sysclk = cs42l52_set_sysclk,
|
||||||
};
|
};
|
||||||
|
|
||||||
struct snd_soc_dai_driver cs42l52_dai = {
|
static struct snd_soc_dai_driver cs42l52_dai = {
|
||||||
.name = "cs42l52",
|
.name = "cs42l52",
|
||||||
.playback = {
|
.playback = {
|
||||||
.stream_name = "Playback",
|
.stream_name = "Playback",
|
||||||
@ -1163,7 +1163,7 @@ static int cs42l52_remove(struct snd_soc_codec *codec)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
struct snd_soc_codec_driver soc_codec_dev_cs42l52 = {
|
static struct snd_soc_codec_driver soc_codec_dev_cs42l52 = {
|
||||||
.probe = cs42l52_probe,
|
.probe = cs42l52_probe,
|
||||||
.remove = cs42l52_remove,
|
.remove = cs42l52_remove,
|
||||||
.suspend = cs42l52_suspend,
|
.suspend = cs42l52_suspend,
|
||||||
|
Loading…
Reference in New Issue
Block a user