mips: serial: Fix busted manual relocation
authorJoe Hershberger <joe.hershberger@ni.com>
Tue, 11 Dec 2012 17:52:50 +0000 (17:52 +0000)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Wed, 12 Dec 2012 12:20:24 +0000 (13:20 +0100)
commitf88e09de8d4ce7307c6aaf3a3adff53e85b4b5b3
tree2a7a9e52d1db778db2a305098377d743d7cac1e7
parentf0c27993e42e801b1bd0c168809ccdbc5e05f9f3
mips: serial: Fix busted manual relocation

serial_initialize() must be called after relocation to adjust the
pointers to putc(), getc(), etc.  This is busted ever since the
serial driver-model-ification series.

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
arch/mips/lib/board.c