summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-s3c.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2012-07-30 23:41:48 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2012-07-31 02:25:18 +0200
commitdbd9acbef2f178e74c2f2def23eb4e8c2bd14270 (patch)
treee8b9ca2500a7286fb7388c8ba9362bb4b35fd904 /drivers/rtc/rtc-s3c.c
parentdrivers/rtc/rtc-r9701.c: check that r9701_set_datetime() succeeded (diff)
downloadlinux-dbd9acbef2f178e74c2f2def23eb4e8c2bd14270.tar.xz
linux-dbd9acbef2f178e74c2f2def23eb4e8c2bd14270.zip
drivers/rtc/rtc-s3c.c: replace #include header files from asm/* to linux/*
Fixes the following checkpatch warnings: WARNING: Use #include <linux/uaccess.h> instead of <asm/uaccess.h> WARNING: Use #include <linux/io.h> instead of <asm/io.h> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
-rw-r--r--drivers/rtc/rtc-s3c.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/rtc/rtc-s3c.c b/drivers/rtc/rtc-s3c.c
index 7e6af0b22f17..bfbd92c8d1c9 100644
--- a/drivers/rtc/rtc-s3c.c
+++ b/drivers/rtc/rtc-s3c.c
@@ -26,10 +26,10 @@
#include <linux/log2.h>
#include <linux/slab.h>
#include <linux/of.h>
+#include <linux/uaccess.h>
+#include <linux/io.h>
#include <mach/hardware.h>
-#include <asm/uaccess.h>
-#include <asm/io.h>
#include <asm/irq.h>
#include <plat/regs-rtc.h>