From c02da6d485c48286175063ca37a3a7c9b66551bc Mon Sep 17 00:00:00 2001 From: Zhang Rui Date: Thu, 10 Nov 2011 13:21:10 +0000 Subject: [PATCH] ce4100: fix a build error Fix a build error. CE4100 with no serial errors because the alternate function is only a prototype not a null function as intended. Signed-off-by: Zhang Rui Signed-off-by: Alan Cox Signed-off-by: Linus Torvalds --- arch/x86/platform/ce4100/ce4100.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/platform/ce4100/ce4100.c b/arch/x86/platform/ce4100/ce4100.c index 28071bb31db7b..4c61b52191eb2 100644 --- a/arch/x86/platform/ce4100/ce4100.c +++ b/arch/x86/platform/ce4100/ce4100.c @@ -109,7 +109,7 @@ static __init void sdv_serial_fixup(void) } #else -static inline void sdv_serial_fixup(void); +static inline void sdv_serial_fixup(void) {}; #endif static void __init sdv_arch_setup(void) -- 2.39.5