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: https://git.stricted.de/?a=commitdiff_plain;h=1f2186951e02f2a5bcda9459f63136918932385a;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.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 d721ea7cae8f..2e6355f4cbb9 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 {