]> err.no Git - linux-2.6/commitdiff
[POWERPC] Fix mv64x60 early console code to use cell-index property
authorRemi Machet <rmachet@slac.stanford.edu>
Mon, 21 Apr 2008 21:02:56 +0000 (07:02 +1000)
committerPaul Mackerras <paulus@samba.org>
Thu, 24 Apr 2008 10:57:34 +0000 (20:57 +1000)
The MPSC driver and prpmc2800.dts have been modified to use property
'cell-index' as the serial port number, but the early serial console
driver for the mv64x60 has not been modified to use this new property.
This fixes it.

Signed-off-by: Remi Machet (rmachet@slac.stanford.edu)
Acked-by: Dale Farnsworth <dale@farnsworth.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/sysdev/mv64x60_udbg.c

index ccdb3b0418fce024d86df3e8fb372e36da4249f0..2792dc8b038c6efe52f626ffadd4edde64d29777 100644 (file)
@@ -94,7 +94,7 @@ static void mv64x60_udbg_init(void)
        if (!np)
                return;
 
-       block_index = of_get_property(np, "block-index", NULL);
+       block_index = of_get_property(np, "cell-index", NULL);
        if (!block_index)
                goto error;