From: Takashi Iwai Date: Thu, 19 Mar 2009 13:08:58 +0000 (+0100) Subject: ALSA: Fix wrong pointer to dev_err() in arm/pxa2xx-ac97-lib.c X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=1f2186951e02f2a5bcda9459f63136918932385a;p=linux-2.6-omap-h63xx.git ALSA: Fix wrong pointer to dev_err() in arm/pxa2xx-ac97-lib.c Fix the wrong device pointer passed to dev_err(). Signed-off-by: Takashi Iwai --- diff --git a/sound/arm/pxa2xx-ac97-lib.c b/sound/arm/pxa2xx-ac97-lib.c index d721ea7cae8..2e6355f4cbb 100644 --- a/sound/arm/pxa2xx-ac97-lib.c +++ b/sound/arm/pxa2xx-ac97-lib.c @@ -374,7 +374,7 @@ int __devinit pxa2xx_ac97_hw_probe(struct platform_device *dev) case -1: break; default: - dev_err(dev, "Invalid reset GPIO %d\n", + dev_err(&dev->dev, "Invalid reset GPIO %d\n", pdata->reset_gpio); } } else {