ce4100: fix a build error
authorZhang Rui <rui.zhang@intel.com>
Thu, 10 Nov 2011 13:21:10 +0000 (13:21 +0000)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 12 Nov 2011 01:58:58 +0000 (23:58 -0200)
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 <rui.zhang@intel.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/x86/platform/ce4100/ce4100.c

index 28071bb31db7bc1512242589dd10ad5184c976dc..4c61b52191eb293bcaef2cac2380c6114cdaefcf 100644 (file)
@@ -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)