summaryrefslogtreecommitdiffstats
path: root/sound/arm
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2009-03-19 14:08:58 +0100
committerTakashi Iwai <tiwai@suse.de>2009-03-19 14:16:19 +0100
commit1f2186951e02f2a5bcda9459f63136918932385a (patch)
treeebc6c254f7f7ded3fe13f50fcd2a332ec04eb70f /sound/arm
parent632087748c3795a54d5631e640df65592774e045 (diff)
downloadlinux-1f2186951e02f2a5bcda9459f63136918932385a.tar.bz2
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 <tiwai@suse.de>
Diffstat (limited to 'sound/arm')
-rw-r--r--sound/arm/pxa2xx-ac97-lib.c2
1 files changed, 1 insertions, 1 deletions
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 {