Message ID | 20090108121942.e4f7f08d.ospite@studenti.unina.it |
---|---|
State | Superseded, archived |
Headers | show |
On Thu, Jan 08, 2009 at 12:19:42PM +0100, Antonio Ospite wrote: > 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' Please submit it to the patch system, thanks. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to "rtc-linux". Membership options at http://groups.google.com/group/rtc-linux . Please read http://groups.google.com/group/rtc-linux/web/checklist before submitting a driver. -~----------~----~----~----~------~----~------~--~---
On Thu, 8 Jan 2009 14:19:27 +0000 Russell King - ARM Linux <linux@arm.linux.org.uk> wrote: > On Thu, Jan 08, 2009 at 12:19:42PM +0100, Antonio Ospite wrote: > > 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' > > Please submit it to the patch system, thanks. It looks like Alessandro Zummo already sent this one to akpm@linux-foundation.org. Thanks. BTW Alessandro, I messed up with email addresses, I used different addresses in From and Signed-off-by, is that a problem? I apologize if it is, I'll take more care next time. Regards, Antonio Ospite
diff --git a/drivers/rtc/rtc-pxa.c b/drivers/rtc/rtc-pxa.c index cc7eb87..bd56a03 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
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> --- drivers/rtc/rtc-pxa.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to "rtc-linux". Membership options at http://groups.google.com/group/rtc-linux . Please read http://groups.google.com/group/rtc-linux/web/checklist before submitting a driver. -~----------~----~----~----~------~----~------~--~---