aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhang Rui <rui.zhang@intel.com>2011-11-10 13:21:10 +0000
committerLinus Torvalds <torvalds@linux-foundation.org>2011-11-11 23:58:58 -0200
commitf2ee442115c9b6219083c019939a9cc0c9abb2f8 (patch)
tree9c1abfeb28f309e0722a5ea27341e3ed24873d6d
parent87618e0003dbca0f51f1ef52fa4199bd65212f41 (diff)
downloadlinux-linaro-stable-f2ee442115c9b6219083c019939a9cc0c9abb2f8.tar.gz
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 <rui.zhang@intel.com> Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--arch/x86/platform/ce4100/ce4100.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/platform/ce4100/ce4100.c b/arch/x86/platform/ce4100/ce4100.c
index 28071bb31db7..4c61b52191eb 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)