diff options
-rw-r--r-- | sound/ppc/toonie.c | 3 |
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; |