summary refs log tree commit diff
path: root/drivers
diff options
context:
space:
mode:
authorAntonio Ospite <ospite@studenti.unina.it>2009-01-15 13:50:54 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2009-01-15 16:39:36 -0800
commit4216d0bd8fef77b7926eb065a766e2ee003acf6a (patch)
treef64ed98b5f158f69460339c5317eb3d790e0f0dd /drivers
parenta748384bba1754409383ba9f0738bffdfa3fd431 (diff)
downloadlinux-4216d0bd8fef77b7926eb065a766e2ee003acf6a.tar.gz
rtc-pxa: fix build failure
Fix these build errors:

  CC      drivers/rtc/rtc-pxa.o
drivers/rtc/rtc-pxa.c: In function `pxa_rtc_init':
drivers/rtc/rtc-pxa.c:472: error: implicit declaration of function `cpu_is_pxa27x'
drivers/rtc/rtc-pxa.c:472: error: implicit declaration of function `cpu_is_pxa3xx'

Signed-off-by: Antonio Ospite <ao2@openezx.org>
Signed-off-by: Alessandro Zummo <a.zummo@towertech.it>
Cc: David Brownell <david-b@pacbell.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/rtc/rtc-pxa.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/rtc/rtc-pxa.c b/drivers/rtc/rtc-pxa.c
index cc7eb8767b82..bd56a033bfd0 100644
--- a/drivers/rtc/rtc-pxa.c
+++ b/drivers/rtc/rtc-pxa.c
@@ -27,6 +27,8 @@
 #include <linux/interrupt.h>
 #include <linux/io.h>
 
+#include <mach/hardware.h>
+
 #define TIMER_FREQ		CLOCK_TICK_RATE
 #define RTC_DEF_DIVIDER		(32768 - 1)
 #define RTC_DEF_TRIM		0