浏览代码

[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>
Benjamin Herrenschmidt 20 年之前
父节点
当前提交
6995f17a5a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      sound/ppc/toonie.c

+ 1 - 1
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",
 	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;
 	return (np->n_intrs > 0) ? np->intrs[0].line : 0;
 }
 }