[ARM] 5306/1: pxa: fix build error on CM-X270
authorMike Rapoport <mike@compulab.co.il>
Wed, 15 Oct 2008 10:07:21 +0000 (11:07 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 15 Oct 2008 11:34:48 +0000 (12:34 +0100)
commit598dca1f4c6ef83d1d9f77c2b0c027adb94c570a
tree1ed85d59aec777ec9bfdb38567340eec601dadf2
parent7591103c08abade60aeddb432ed0686ddd0de1c6
[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>
arch/arm/mach-pxa/cm-x270.c