From: Benjamin Herrenschmidt Date: Tue, 16 Jun 2009 15:55:19 +0000 (+0000) Subject: powerpc/440: Fix warning early debug code X-Git-Tag: MMI-PSA29.97-13-9~27570^2~3 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f694cda89250f38782a5fd0b2d32fe33a39dcf37;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git 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: Benjamin Herrenschmidt --- diff --git a/arch/powerpc/kernel/udbg_16550.c b/arch/powerpc/kernel/udbg_16550.c index 0362a891e54e..acb74a17bbbf 100644 --- a/arch/powerpc/kernel/udbg_16550.c +++ b/arch/powerpc/kernel/udbg_16550.c @@ -219,7 +219,7 @@ void udbg_init_pas_realmode(void) #ifdef CONFIG_PPC_EARLY_DEBUG_44x #include -static int udbg_44x_as1_flush(void) +static void udbg_44x_as1_flush(void) { if (udbg_comport) { while ((as1_readb(&udbg_comport->lsr) & LSR_THRE) == 0)