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

Commit 7685e016 authored by Kevin Hilman's avatar Kevin Hilman Committed by Mark Brown
Browse files

ASoC: pxa2xx: fixup multi-platform AC'97 build failures



commit b047e1cc (ASoC: ac97: Support multi-platform AC'97) introduced
some build failures for the pxa2xx-ac97 support, fix them.

Cc: Mark Brown <broonie@linaro.org>
Signed-off-by: default avatarKevin Hilman <khilman@linaro.org>
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent 8a08f4c4
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -238,6 +238,8 @@ static const struct snd_soc_component_driver pxa_ac97_component = {

static int pxa2xx_ac97_dev_probe(struct platform_device *pdev)
{
	int ret;

	if (pdev->id != -1) {
		dev_err(&pdev->dev, "PXA2xx has only one AC97 port.\n");
		return -ENXIO;
+0 −3
Original line number Diff line number Diff line
@@ -14,7 +14,4 @@
#define PXA2XX_DAI_AC97_AUX		1
#define PXA2XX_DAI_AC97_MIC		2

/* platform data */
extern struct snd_ac97_bus_ops pxa2xx_ac97_ops;

#endif