diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-06-16 17:55:19 +0200 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-06-26 08:55:35 +0200 |
commit | f694cda89250f38782a5fd0b2d32fe33a39dcf37 (patch) | |
tree | f3aeb390971be7f64bcf640b051c3d82a05177a3 /arch/powerpc/kernel/udbg_16550.c | |
parent | powerpc/of: Fix usage of dev_set_name() in of_device_alloc() (diff) | |
download | linux-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/kernel/udbg_16550.c')
-rw-r--r-- | arch/powerpc/kernel/udbg_16550.c | 2 |
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) |