aboutsummaryrefslogtreecommitdiffstats
path: root/sound/ppc/toonie.c
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2005-05-01 21:54:23 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-01 21:54:23 -0400
commit7eb8073ecc8251530ebbd9be29cc33e54d37bdc2 (patch)
tree4d6a10cb3ce9f216a4d0e7a6000374f45929bf70 /sound/ppc/toonie.c
parent15fd56867b6b94dc829d880bc078428eb41859c8 (diff)
[PATCH] ppc32: Small build fix for alsa powermac
My newer iMac mini driver doesn't build with verbose debug enabled. This fixes it, and removes an erroneous error printk (since it's normal on some machine to not find some gpios on the "first try"). Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'sound/ppc/toonie.c')
-rw-r--r--sound/ppc/toonie.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/ppc/toonie.c b/sound/ppc/toonie.c
index 0f909193b4fb..86c74f40cff7 100644
--- a/sound/ppc/toonie.c
+++ b/sound/ppc/toonie.c
@@ -279,8 +279,7 @@ static int find_audio_gpio(const char *name, const char *platform,
279 if (! base) { 279 if (! base) {
280 base = (u32 *)get_property(np, "reg", NULL); 280 base = (u32 *)get_property(np, "reg", NULL);
281 if (!base) { 281 if (!base) {
282 DBG("(E) cannot find address for device %s !\n", device); 282 DBG("(E) cannot find address for device %s !\n", name);
283 snd_printd("cannot find address for device %s\n", device);
284 return -ENODEV; 283 return -ENODEV;
285 } 284 }
286 addr = *base; 285 addr = *base;