Skip to content

Commit

Permalink
ALSA: Fix wrong pointer to dev_err() in arm/pxa2xx-ac97-lib.c
Browse files Browse the repository at this point in the history
Fix the wrong device pointer passed to dev_err().

Signed-off-by: Takashi Iwai <tiwai@suse.de>
  • Loading branch information
Takashi Iwai committed Mar 19, 2009
1 parent 6320877 commit 1f21869
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/arm/pxa2xx-ac97-lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 1f21869

Please sign in to comment.