Skip to content

Commit

Permalink
[POWERPC] Fix mv64x60 early console code to use cell-index property
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Remi Machet authored and Paul Mackerras committed Apr 24, 2008
1 parent ff114b6 commit df40a57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/powerpc/sysdev/mv64x60_udbg.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit df40a57

Please sign in to comment.