Skip to contentSkip to conversation

ce4100: fix a build error

PATCH New Alan Cox 1 participant 1 message Nov 10, 2011 x86

lore
Share & tools
lore

Alan Cox

author
#0 lore raw

PATCH 1/1 ce4100: fix a build error

From: Zhang Rui <[email protected]>

Fix a build error. CE4100 with no serial errors because the alternate function is only a prototype not a null function as intended.

---

 arch/x86/platform/ce4100/ce4100.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/x86/platform/ce4100/ce4100.c +1 -1
index 28071bb..4c61b52 100644
@@ -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)