Explorar o código

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>
Takashi Iwai %!s(int64=16) %!d(string=hai) anos
pai
achega
1f2186951e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      sound/arm/pxa2xx-ac97-lib.c

+ 1 - 1
sound/arm/pxa2xx-ac97-lib.c

@@ -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 {