MIPS: Loongson early_printk: Fix variable type of uart_base
authorWu Zhangjin <wuzhangjin@gmail.com>
Fri, 16 Oct 2009 06:17:16 +0000 (14:17 +0800)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 17 Dec 2009 01:57:03 +0000 (01:57 +0000)
commitdb54ff246eae5acb6b7dffec2c05e682f91e0f4e
tree26a8aca93bbdcf68ea57e6c84ec5bf2ce4a1ead1
parentf6d4ff02c60e18797279270d09791768e43cd269
MIPS: Loongson early_printk: Fix variable type of uart_base

The uart_base variable here is not a physical address, so, we replace it
by unsigned char *.

Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
Cc: Linux-MIPS <linux-mips@linux-mips.org>
Cc: yanh@lemote.com
Cc: huhb@lemote.com
Cc: Zhang Le <r0bertz@gentoo.org>
Cc: zhangfx@lemote.com
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/loongson/common/early_printk.c