]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[RTC] remove references to asm/mach/time.h
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Sun, 20 Apr 2008 11:22:36 +0000 (12:22 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 22 May 2008 13:56:35 +0000 (14:56 +0100)
asm/mach/time.h is the ARM header file for setting up kernel ticker
timekeeping (be that the old jiffy interrupt or the new clocksource.)
RTC drivers have no business using this header file, and in fact do
not require it.

Build tested on at91sam9rl, omap and s3c2410 configurations.

Acked-by: Alessandro Zummo <a.zummo@towertech.it>
Acked-by: Andrew Victor <linux@maxim.org.za>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/rtc/rtc-at91rm9200.c
drivers/rtc/rtc-at91sam9.c
drivers/rtc/rtc-omap.c
drivers/rtc/rtc-s3c.c

index 39e64ab1ecb71b139c336fae6ba4bb637ea61ffb..2af1e6fb71c01bc98c00086e2530840d53a10108 100644 (file)
@@ -31,8 +31,6 @@
 #include <asm/uaccess.h>
 #include <asm/rtc.h>
 
-#include <asm/mach/time.h>
-
 #include <asm/arch/at91_rtc.h>
 
 
index 38d8742a4bdfb4554649cfa37496ebd66a3e027c..f0246ef413a40a4fca53e2fbf9f77188adce3dcf 100644 (file)
@@ -19,7 +19,6 @@
 #include <linux/interrupt.h>
 #include <linux/ioctl.h>
 
-#include <asm/mach/time.h>
 #include <asm/arch/board.h>
 #include <asm/arch/at91_rtt.h>
 
index 58f81c7749435b307afea30f498959da5abcbe1c..eb23d8423f42dc15f6e1d226766bff6c40989c5b 100644 (file)
@@ -22,7 +22,6 @@
 #include <linux/platform_device.h>
 
 #include <asm/io.h>
-#include <asm/mach/time.h>
 
 
 /* The OMAP1 RTC is a year/month/day/hours/minutes/seconds BCD clock
index f26e0cad8f167c5221fd5a480c42e7f2fcdb2baa..2c6e4671e3884f8cc32b3dcada8d0030d3b09d4e 100644 (file)
@@ -28,8 +28,6 @@
 #include <asm/irq.h>
 #include <asm/rtc.h>
 
-#include <asm/mach/time.h>
-
 #include <asm/plat-s3c/regs-rtc.h>
 
 /* I have yet to find an S3C implementation with more than one