diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2012-07-30 23:41:48 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-07-31 02:25:18 +0200 |
commit | dbd9acbef2f178e74c2f2def23eb4e8c2bd14270 (patch) | |
tree | e8b9ca2500a7286fb7388c8ba9362bb4b35fd904 /drivers/rtc/rtc-s3c.c | |
parent | drivers/rtc/rtc-r9701.c: check that r9701_set_datetime() succeeded (diff) | |
download | linux-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.c | 4 |
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> |