* [PATCH] ce4100: fix a build error
@ 2011-11-10 13:21 Alan Cox
0 siblings, 0 replies; only message in thread
From: Alan Cox @ 2011-11-10 13:21 UTC (permalink / raw)
To: torvalds, linux-kernel
From: Zhang Rui <rui.zhang@intel.com>
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>
---
arch/x86/platform/ce4100/ce4100.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/x86/platform/ce4100/ce4100.c b/arch/x86/platform/ce4100/ce4100.c
index 28071bb..4c61b52 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)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-11-10 13:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-10 13:21 [PATCH] ce4100: fix a build error Alan Cox
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome