Fwd: [patch 2.6.19-rc1] rtc-at91rm9200 build fix

From: David Brownell
Date: Sun Dec 31 2006 - 17:23:55 EST


Patch still needs merging ...

BTW, glad to see googlegroups finally returns rtc-linux when
I search for it ... :)

---------- Forwarded Message ----------

Subject: [patch 2.6.19-rc1] rtc-at91rm9200 build fix
Date: Saturday 16 December 2006 3:38 pm
From: David Brownell <david-b@xxxxxxxxxxx>
To: Alessandro Zummo <alessandro.zummo@xxxxxxxxxxxx>
Cc: Andrew Victor <andrew@xxxxxxxxxxxxx>

The at91rm9200 RTC driver needs some assistance to build, because of
recent header file rearrangement.

Signed-off-by: David Brownell <dbrownell@xxxxxxxxxxxxxxxxxxxxx>

Index: at91/drivers/rtc/rtc-at91rm9200.c
===================================================================
--- at91.orig/drivers/rtc/rtc-at91rm9200.c 2006-12-15 10:13:47.000000000 -0800
+++ at91/drivers/rtc/rtc-at91rm9200.c 2006-12-15 13:06:02.000000000 -0800
@@ -33,6 +33,8 @@

#include <asm/mach/time.h>

+#include <asm/arch/at91_rtc.h>
+

#define AT91_RTC_FREQ 1
#define AT91_RTC_EPOCH 1900UL /* just like arch/arm/common/rtctime.c */


-------------------------------------------------------
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/