]> git.karo-electronics.de Git - linux-beck.git/blobdiff - sound/soc/pxa/pxa2xx-ac97.c
ASoC: pxa2xx: fixup multi-platform AC'97 build failures
[linux-beck.git] / sound / soc / pxa / pxa2xx-ac97.c
index a3c22ba25f08326311625429b93748e3edfbc212..1475515712e65616b345f3d7e56ddedf954f6b4a 100644 (file)
@@ -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;