]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[RTC] remove unused asm/rtc.h includes from ARM RTC drivers
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Sun, 20 Apr 2008 11:26:48 +0000 (12:26 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 22 May 2008 13:56:39 +0000 (14:56 +0100)
On ARM, asm/rtc.h only contains definitions for the predecessor to
the RTC class support.  RTC class drivers should not be including
this include.

Build tested on at91sam9rl and s3c2410 configurations.

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

index 2af1e6fb71c01bc98c00086e2530840d53a10108..9c3db934cc247b6d68859b3869980feeefd92936 100644 (file)
@@ -29,8 +29,6 @@
 #include <linux/completion.h>
 
 #include <asm/uaccess.h>
-#include <asm/rtc.h>
-
 #include <asm/arch/at91_rtc.h>
 
 
index 2c6e4671e3884f8cc32b3dcada8d0030d3b09d4e..fed86e507fdfb87aa17e610d1758317731fc1990 100644 (file)
@@ -26,8 +26,6 @@
 #include <asm/uaccess.h>
 #include <asm/io.h>
 #include <asm/irq.h>
-#include <asm/rtc.h>
-
 #include <asm/plat-s3c/regs-rtc.h>
 
 /* I have yet to find an S3C implementation with more than one