ALSA: Fix wrong pointer to dev_err() in arm/pxa2xx-ac97-lib.c
[sfrench/cifs-2.6.git] / 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 {