提交 f694cda8 编写于 作者: B Benjamin Herrenschmidt

powerpc/440: Fix warning early debug code

The function udbg_44x_as1_flush() has the wrong prototype causing
a warning when enabling 440 early debug.
Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
上级 03c01aa7
...@@ -219,7 +219,7 @@ void udbg_init_pas_realmode(void) ...@@ -219,7 +219,7 @@ void udbg_init_pas_realmode(void)
#ifdef CONFIG_PPC_EARLY_DEBUG_44x #ifdef CONFIG_PPC_EARLY_DEBUG_44x
#include <platforms/44x/44x.h> #include <platforms/44x/44x.h>
static int udbg_44x_as1_flush(void) static void udbg_44x_as1_flush(void)
{ {
if (udbg_comport) { if (udbg_comport) {
while ((as1_readb(&udbg_comport->lsr) & LSR_THRE) == 0) while ((as1_readb(&udbg_comport->lsr) & LSR_THRE) == 0)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册