]> err.no Git - linux-2.6/blobdiff - sound/ppc/toonie.c
[PATCH] jffs/jffs2: remove wrong function prototypes
[linux-2.6] / sound / ppc / toonie.c
index 0f909193b4fb9d7c19e0b7a4870fd715885b5f21..082bc4babab5f8f564acddd39d356ca134a5b978 100644 (file)
@@ -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;
@@ -321,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;
 }