summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorMike Rapoport <mike@compulab.co.il>2008-10-15 11:07:21 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-10-15 12:34:48 +0100
commit598dca1f4c6ef83d1d9f77c2b0c027adb94c570a (patch)
tree1ed85d59aec777ec9bfdb38567340eec601dadf2 /arch
parent7591103c08abade60aeddb432ed0686ddd0de1c6 (diff)
downloadblackbird-op-linux-598dca1f4c6ef83d1d9f77c2b0c027adb94c570a.tar.gz
blackbird-op-linux-598dca1f4c6ef83d1d9f77c2b0c027adb94c570a.zip
[ARM] 5306/1: pxa: fix build error on CM-X270
Fix build for CM-X2XX with CONFIG_RTC_DRV_V3020 unset: CC arch/arm/mach-pxa/cm-x270.o /mnt/sdb1/git/linux-2.6-arm/arch/arm/mach-pxa/cm-x270.c: In function 'cmx270_init': /mnt/sdb1/git/linux-2.6-arm/arch/arm/mach-pxa/cm-x270.c:338: error: implicit declaration of function 'cmx270_init_rtc' make[2]: *** [arch/arm/mach-pxa/cm-x270.o] Error 1 Signed-off-by: Mike Rapoport <mike@compulab.co.il> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-pxa/cm-x270.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-pxa/cm-x270.c b/arch/arm/mach-pxa/cm-x270.c
index a82dad1a8cc8..df83b97f303f 100644
--- a/arch/arm/mach-pxa/cm-x270.c
+++ b/arch/arm/mach-pxa/cm-x270.c
@@ -162,7 +162,7 @@ static void __init cmx270_init_rtc(void)
platform_device_register(&cmx270_rtc_device);
}
#else
-static inline void cmx2xx_init_rtc(void) {}
+static inline void cmx270_init_rtc(void) {}
#endif
/* 2700G graphics */
OpenPOWER on IntegriCloud