summaryrefslogtreecommitdiffstats
path: root/drivers/rtc
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-07-04 00:05:44 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2013-07-04 01:07:46 +0200
commit8ecc0bf41a8e3ddd40e0fbb7b3045f553e8aad41 (patch)
treed706e3d3834fb042a469f31c9cdeaec4d3cdcd40 /drivers/rtc
parentdrivers/rtc/rtc-at32ap700x.c: fix checkpatch error (diff)
downloadlinux-8ecc0bf41a8e3ddd40e0fbb7b3045f553e8aad41.tar.xz
linux-8ecc0bf41a8e3ddd40e0fbb7b3045f553e8aad41.zip
drivers/rtc/rtc-at91rm9200.c: include <linux/uaccess.h>
Silences the following checkpatch warning: WARNING: Use #include <linux/uaccess.h> instead of <asm/uaccess.h> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Cc: Andrew Victor <linux@maxim.org.za> Cc: Jingoo Han <jg1.han@samsung.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/rtc')
-rw-r--r--drivers/rtc/rtc-at91rm9200.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/rtc/rtc-at91rm9200.c b/drivers/rtc/rtc-at91rm9200.c
index f296f3f7db9b..e87a81c8678e 100644
--- a/drivers/rtc/rtc-at91rm9200.c
+++ b/drivers/rtc/rtc-at91rm9200.c
@@ -31,8 +31,7 @@
#include <linux/io.h>
#include <linux/of.h>
#include <linux/of_device.h>
-
-#include <asm/uaccess.h>
+#include <linux/uaccess.h>
#include "rtc-at91rm9200.h"