Commit 1f218695 authored by Takashi Iwai's avatar Takashi Iwai

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: default avatarTakashi Iwai <tiwai@suse.de>
parent 63208774
...@@ -374,7 +374,7 @@ int __devinit pxa2xx_ac97_hw_probe(struct platform_device *dev) ...@@ -374,7 +374,7 @@ int __devinit pxa2xx_ac97_hw_probe(struct platform_device *dev)
case -1: case -1:
break; break;
default: default:
dev_err(dev, "Invalid reset GPIO %d\n", dev_err(&dev->dev, "Invalid reset GPIO %d\n",
pdata->reset_gpio); pdata->reset_gpio);
} }
} else { } else {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment