aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2009-03-19 09:08:58 -0400
committerTakashi Iwai <tiwai@suse.de>2009-03-19 09:16:19 -0400
commit1f2186951e02f2a5bcda9459f63136918932385a (patch)
treeebc6c254f7f7ded3fe13f50fcd2a332ec04eb70f /sound
parent632087748c3795a54d5631e640df65592774e045 (diff)
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')
-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)
374 case -1: 374 case -1:
375 break; 375 break;
376 default: 376 default:
377 dev_err(dev, "Invalid reset GPIO %d\n", 377 dev_err(&dev->dev, "Invalid reset GPIO %d\n",
378 pdata->reset_gpio); 378 pdata->reset_gpio);
379 } 379 }
380 } else { 380 } else {