arm64: Fix duplicate definition of early_console
authorChen Gang <gang.chen@asianux.com>
Fri, 19 Apr 2013 10:53:07 +0000 (11:53 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Mon, 13 May 2013 10:44:53 +0000 (11:44 +0100)
commit182a6f73ec6bc83ce9b72eec20fa1c6901338c16
tree5cc38daf21d4f20ca44efd50f53cef77b8ec4134
parentf722406faae2d073cc1d01063d1123c35425939e
arm64: Fix duplicate definition of early_console

When compiling with allmodconfig. early_console is already defined as an
extern global pointer. Need let it point to the object which we intend
to (like arm32 done).

Signed-off-by: Chen Gang <gang.chen@asianux.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/kernel/early_printk.c