[PATCH] powerpc: udbg updates
[deliverable/linux.git] / arch / powerpc / platforms / powermac / udbg_scc.c
index df6dec49c4c7b627b5f3c0d9b3f07c1471a0f749..e87d53acfb61827936bb200badbc794f0f569c91 100644 (file)
@@ -47,14 +47,14 @@ static int udbg_scc_getc_poll(void)
        return -1;
 }
 
-static char udbg_scc_getc(void)
+static int udbg_scc_getc(void)
 {
        if (sccc) {
                while ((in_8(sccc) & SCC_RXRDY) == 0)
                        ;
                return in_8(sccd);
        }
-       return 0;
+       return -1;
 }
 
 static unsigned char scc_inittab[] = {
This page took 0.02562 seconds and 5 git commands to generate.