Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[POWERPC] Fix mv64x60 early console code to use cell-index property

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>

authored by

Remi Machet and committed by
Paul Mackerras
df40a57e ff114b66

+1 -1
+1 -1
arch/powerpc/sysdev/mv64x60_udbg.c
··· 94 94 if (!np) 95 95 return; 96 96 97 - block_index = of_get_property(np, "block-index", NULL); 97 + block_index = of_get_property(np, "cell-index", NULL); 98 98 if (!block_index) 99 99 goto error; 100 100