Skip to content

Commit

Permalink
[RTC] remove unused asm/rtc.h includes from ARM RTC drivers
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Russell King authored and Russell King committed May 22, 2008
1 parent a190901 commit 7da285b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions drivers/rtc/rtc-at91rm9200.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@
#include <linux/completion.h>

#include <asm/uaccess.h>
#include <asm/rtc.h>

#include <asm/arch/at91_rtc.h>


Expand Down
2 changes: 0 additions & 2 deletions drivers/rtc/rtc-s3c.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7da285b

Please sign in to comment.