]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ALSA: Fix wrong pointer to dev_err() in arm/pxa2xx-ac97-lib.c
authorTakashi Iwai <tiwai@suse.de>
Thu, 19 Mar 2009 13:08:58 +0000 (14:08 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 19 Mar 2009 13:16:19 +0000 (14:16 +0100)
Fix the wrong device pointer passed to dev_err().

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/arm/pxa2xx-ac97-lib.c

index d721ea7cae8f1f40ddfdc887a6ce18e71a8587fe..2e6355f4cbb926d888f7c2b5711512354ba2890e 100644 (file)
@@ -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 {