ASoC: Staticise CS4270 DAI
PATCH 1/2 ASoC: Staticise CS4270 DAI
It's not needed with multi-component.
Signed-off-by Mark Brown <[email protected]>
--- sound/soc/codecs/cs4270.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
sound/soc/codecs/cs4270.c +1 -1
@@ -518,7 +518,7 @@ static struct snd_soc_dai_ops cs4270_dai_ops = { .digital_mute = cs4270_dai_mute, }; -struct snd_soc_dai_driver cs4270_dai = { +static struct snd_soc_dai_driver cs4270_dai = { .name ="cs4270-hifi" , .playback = { .stream_name ="Playback" ,
Signature · 1 line
1.7.1
PATCH 2/2 ASoC: Staticise AD1980 DAI
It doesn't need to be exported with multi-component.
Signed-off-by Mark Brown <[email protected]>
--- sound/soc/codecs/ad1980.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
sound/soc/codecs/ad1980.c +1 -1
@@ -133,7 +133,7 @@ static int ac97_write(struct snd_soc_codec *codec, unsigned int reg,return 0 ; } -struct snd_soc_dai_driver ad1980_dai = { +static struct snd_soc_dai_driver ad1980_dai = { .name ="ad1980-hifi" , .ac97_control =1 , .playback = {
Signature · 1 line
1.7.1
Quoted 12 lines · Mark Brown
It's not needed with multi-component.
Signed-off-by Mark Brown <[email protected]>--- sound/soc/codecs/cs4270.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)sound/soc/codecs/cs4270.c +0
-0
sound/soc/codecs/cs4270.c static struct snd_soc_dai_ops cs4270_dai_ops = { · line 524
Quoted 8 lines
sound/soc/codecs/cs4270.c +1
-1@@ -518,7 +518,7 @@ static struct snd_soc_dai_ops cs4270_dai_ops = { .digital_mute = cs4270_dai_mute, }; -struct snd_soc_dai_driver cs4270_dai = { +static struct snd_soc_dai_driver cs4270_dai = { .name ="cs4270-hifi" , .playback = { .stream_name ="Playback" ,
Both
Acked-by Liam Girdwood <[email protected]>
Signature · 3 lines
Freelance Developer, SlimLogic Ltd ASoC and Voltage Regulator Maintainer. http://www.slimlogic.co.uk
Quoted 3 lines · Mark Brown
It's not needed with multi-component.
Signed-off-by Mark Brown <[email protected]>
Acked-by Timur Tabi <[email protected]>
Signature · 2 lines
Timur Tabi Linux kernel developer at Freescale
Quoted 4 lines · Mark Brown
It's not needed with multi-component.
Signed-off-by Mark Brown <[email protected]>---
Both
Acked-by Liam Girdwood <[email protected]>
Signature · 3 lines
Freelance Developer, SlimLogic Ltd ASoC and Voltage Regulator Maintainer. http://www.slimlogic.co.uk