From 7eb8073ecc8251530ebbd9be29cc33e54d37bdc2 Mon Sep 17 00:00:00 2001 From: Benjamin Herrenschmidt Date: Sun, 1 May 2005 18:54:23 -0700 Subject: [PATCH] [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 Signed-off-by: Linus Torvalds --- sound/ppc/toonie.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sound/ppc/toonie.c b/sound/ppc/toonie.c index 0f909193b4..86c74f40cf 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, if (! base) { base = (u32 *)get_property(np, "reg", NULL); if (!base) { - DBG("(E) cannot find address for device %s !\n", device); - snd_printd("cannot find address for device %s\n", device); + DBG("(E) cannot find address for device %s !\n", name); return -ENODEV; } addr = *base; -- 2.39.5