From 6995f17a5ab3c3fd4df2e5b107d08cff1db3fa41 Mon Sep 17 00:00:00 2001
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: Mon, 2 May 2005 14:45:12 +1000
Subject: [PATCH] ppc32: More fixlet for pmac sound

As Al Viro noticed, my previous fix missed one instance of "device" in
the driver local debug code. Harmless unless you tweak the #define's in
there but still work fixing.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
---
 sound/ppc/toonie.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'sound/ppc')

diff --git a/sound/ppc/toonie.c b/sound/ppc/toonie.c
index 86c74f4..082bc4b 100644
--- a/sound/ppc/toonie.c
+++ b/sound/ppc/toonie.c
@@ -320,7 +320,7 @@ static int find_audio_gpio(const char *name, const char *platform,
 	}
 
 	DBG("(I) GPIO device %s found, offset: %x, active state: %d !\n",
-	    device, gp->addr, gp->active_state);
+	    name, gp->addr, gp->active_state);
 
 	return (np->n_intrs > 0) ? np->intrs[0].line : 0;
 }
-- 
cgit v1.1