[PATCH] ppc32: More fixlet for pmac sound
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 2 May 2005 04:45:12 +0000 (14:45 +1000)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 2 May 2005 04:56:39 +0000 (21:56 -0700)
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

index 86c74f4..082bc4b 100644 (file)
@@ -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;
 }