ALSA: Fix wrong pointer to dev_err() in arm/pxa2xx-ac97-lib.c

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Thursday, March 26, 2009 - 12:11 pm

Gitweb:     http://git.kernel.org/linus/1f2186951e02f2a5bcda9459f63136918932385a
Commit:     1f2186951e02f2a5bcda9459f63136918932385a
Parent:     632087748c3795a54d5631e640df65592774e045
Author:     Takashi Iwai <tiwai@suse.de>
AuthorDate: Thu Mar 19 14:08:58 2009 +0100
Committer:  Takashi Iwai <tiwai@suse.de>
CommitDate: Thu Mar 19 14:16:19 2009 +0100

    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>
---
 sound/arm/pxa2xx-ac97-lib.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/sound/arm/pxa2xx-ac97-lib.c b/sound/arm/pxa2xx-ac97-lib.c
index d721ea7..2e6355f 100644
--- a/sound/arm/pxa2xx-ac97-lib.c
+++ b/sound/arm/pxa2xx-ac97-lib.c
@@ -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 {
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
ALSA: Fix wrong pointer to dev_err() in arm/pxa2xx-ac97-lib.c, Linux Kernel Mailing ..., (Thu Mar 26, 12:11 pm)