From: <sle...@us...> - 2007-03-10 09:35:35
|
Revision: 905 http://svn.sourceforge.net/hackndev/?rev=905&view=rev Author: sleep_walker Date: 2007-03-10 01:35:33 -0800 (Sat, 10 Mar 2007) Log Message: ----------- l4p: forgotten change related to PalmOS RTC problem fix candidate Modified Paths: -------------- linux4palm/linux/trunk/arch/arm/mach-pxa/time.c Modified: linux4palm/linux/trunk/arch/arm/mach-pxa/time.c =================================================================== --- linux4palm/linux/trunk/arch/arm/mach-pxa/time.c 2007-03-10 00:22:34 UTC (rev 904) +++ linux4palm/linux/trunk/arch/arm/mach-pxa/time.c 2007-03-10 09:35:33 UTC (rev 905) @@ -29,7 +29,12 @@ #include <asm/mach/time.h> #include <asm/arch/pxa-regs.h> -#define PL_ODDS (1970-CONFIG_PXA_RTC_EPOCH) +#ifdef CONFIG_RTC_EPOCH +#define PL_ODDS (1970-CONFIG_RTC_EPOCH) +#else +#define PL_ODDS 0 +#endif + #define SECS_PER_DAY 24*60*60 #define SECS_PER_LEAP (SECS_PER_DAY*366) #define SECS_PER_OTHER (SECS_PER_DAY*365) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |