Patchwork [04/26] drivers/rtc/rtc-at91rm9200.c: Include <linux/uaccess.h>

login
register
mail settings
Submitter Sachin Kamat
Date May 3, 2013, 6:20 a.m.
Message ID <1367562076-25713-5-git-send-email-sachin.kamat@linaro.org>
Download mbox | patch
Permalink /patch/241180/
State New
Headers show

Comments

Sachin Kamat - May 3, 2013, 6:20 a.m.
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>
---
 drivers/rtc/rtc-at91rm9200.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Patch

diff --git a/drivers/rtc/rtc-at91rm9200.c b/drivers/rtc/rtc-at91rm9200.c
index 0eab77b..0fea9d7 100644
--- a/drivers/rtc/rtc-at91rm9200.c
+++ b/drivers/rtc/rtc-at91rm9200.c
@@ -30,8 +30,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"