diff options
author | Arnd Bergmann <arnd@arndb.de> | 2013-03-05 12:04:37 +0100 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2013-04-19 13:51:25 +0200 |
commit | b9d7c5d3f48fb9582458ce014baa66c1e16d9be6 (patch) | |
tree | 660146f078a65463590d9b623d2a37bb263a6b29 /drivers/rtc/rtc-s3c.c | |
parent | 93115b7fa8f4090ecbf247b29992a9454d4f9c22 (diff) | |
download | op-kernel-dev-b9d7c5d3f48fb9582458ce014baa66c1e16d9be6.zip op-kernel-dev-b9d7c5d3f48fb9582458ce014baa66c1e16d9be6.tar.gz |
rtc: s3c: make header file local
Nothing outside of the rtc driver includes plat/regs-rtc.h,
so we can simply move the file into the same directory,
which allows us to build the file as platform-independent
code.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: rtc-linux@googlegroups.com
Cc: Alessandro Zummo <a.zummo@towertech.it>
Diffstat (limited to 'drivers/rtc/rtc-s3c.c')
-rw-r--r-- | drivers/rtc/rtc-s3c.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/rtc/rtc-s3c.c b/drivers/rtc/rtc-s3c.c index fb994e9..7995f79 100644 --- a/drivers/rtc/rtc-s3c.c +++ b/drivers/rtc/rtc-s3c.c @@ -29,9 +29,8 @@ #include <linux/uaccess.h> #include <linux/io.h> -#include <mach/hardware.h> #include <asm/irq.h> -#include <plat/regs-rtc.h> +#include "rtc-s3c.h" enum s3c_cpu_type { TYPE_S3C2410, |