Forráskód Böngészése

[RTC] remove references to asm/mach/time.h

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>
Russell King 17 éve
szülő
commit
f70c5253b4

+ 0 - 2
drivers/rtc/rtc-at91rm9200.c

@@ -31,8 +31,6 @@
 #include <asm/uaccess.h>
 #include <asm/uaccess.h>
 #include <asm/rtc.h>
 #include <asm/rtc.h>
 
 
-#include <asm/mach/time.h>
-
 #include <asm/arch/at91_rtc.h>
 #include <asm/arch/at91_rtc.h>
 
 
 
 

+ 0 - 1
drivers/rtc/rtc-at91sam9.c

@@ -19,7 +19,6 @@
 #include <linux/interrupt.h>
 #include <linux/interrupt.h>
 #include <linux/ioctl.h>
 #include <linux/ioctl.h>
 
 
-#include <asm/mach/time.h>
 #include <asm/arch/board.h>
 #include <asm/arch/board.h>
 #include <asm/arch/at91_rtt.h>
 #include <asm/arch/at91_rtt.h>
 
 

+ 0 - 1
drivers/rtc/rtc-omap.c

@@ -22,7 +22,6 @@
 #include <linux/platform_device.h>
 #include <linux/platform_device.h>
 
 
 #include <asm/io.h>
 #include <asm/io.h>
-#include <asm/mach/time.h>
 
 
 
 
 /* The OMAP1 RTC is a year/month/day/hours/minutes/seconds BCD clock
 /* The OMAP1 RTC is a year/month/day/hours/minutes/seconds BCD clock

+ 0 - 2
drivers/rtc/rtc-s3c.c

@@ -28,8 +28,6 @@
 #include <asm/irq.h>
 #include <asm/irq.h>
 #include <asm/rtc.h>
 #include <asm/rtc.h>
 
 
-#include <asm/mach/time.h>
-
 #include <asm/plat-s3c/regs-rtc.h>
 #include <asm/plat-s3c/regs-rtc.h>
 
 
 /* I have yet to find an S3C implementation with more than one
 /* I have yet to find an S3C implementation with more than one