Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 272edb00 authored by Lopez Cruz, Misael's avatar Lopez Cruz, Misael Committed by Mark Brown
Browse files

ASoC: Update SDP3430 machine driver for snd_soc_card



This patch replaces "snd_soc_machine" structure by "snd_soc_card" in
SP3430 driver. This change is needed in SDP3430 driver to reflect
changes introduced by "ASoC: Rename snd_soc_card to snd_soc_machine" patch
(87506549).

Signed-off-by: default avatarMisael Lopez Cruz <x0052729@ti.com>
Acked-by: default avatarJarkko Nikula <jarkko.nikula@nokia.com>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 397d5aee
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -91,7 +91,7 @@ static struct snd_soc_dai_link sdp3430_dai = {
};

/* Audio machine driver */
static struct snd_soc_machine snd_soc_machine_sdp3430 = {
static struct snd_soc_card snd_soc_sdp3430 = {
	.name = "SDP3430",
	.platform = &omap_soc_platform,
	.dai_link = &sdp3430_dai,
@@ -100,7 +100,7 @@ static struct snd_soc_machine snd_soc_machine_sdp3430 = {

/* Audio subsystem */
static struct snd_soc_device sdp3430_snd_devdata = {
	.machine = &snd_soc_machine_sdp3430,
	.card = &snd_soc_sdp3430,
	.codec_dev = &soc_codec_dev_twl4030,
};