Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[PATCH] rtc-at91rm9200 build fix

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

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Cc: Alessandro Zummo <alessandro.zummo@towertech.it>
Cc: Andrew Victor <andrew@sanpeople.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by

David Brownell and committed by
Linus Torvalds
d73e3cd7 c1150d8c

+2
+2
drivers/rtc/rtc-at91rm9200.c
··· 33 33 34 34 #include <asm/mach/time.h> 35 35 36 + #include <asm/arch/at91_rtc.h> 37 + 36 38 37 39 #define AT91_RTC_FREQ 1 38 40 #define AT91_RTC_EPOCH 1900UL /* just like arch/arm/common/rtctime.c */