summaryrefslogtreecommitdiffstats
path: root/arch/powerpc
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2009-06-16 17:55:19 +0200
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2009-06-26 08:55:35 +0200
commitf694cda89250f38782a5fd0b2d32fe33a39dcf37 (patch)
treef3aeb390971be7f64bcf640b051c3d82a05177a3 /arch/powerpc
parentpowerpc/of: Fix usage of dev_set_name() in of_device_alloc() (diff)
downloadlinux-f694cda89250f38782a5fd0b2d32fe33a39dcf37.tar.xz
linux-f694cda89250f38782a5fd0b2d32fe33a39dcf37.zip
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 <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/kernel/udbg_16550.c2
1 files changed, 1 insertions, 1 deletions
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 <platforms/44x/44x.h>
-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)