projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e3dd0d
)
drivers/rtc/rtc-vr41xx.c: fix checkpatch warnings
author
Sachin Kamat
<
[email protected]
>
Tue, 12 Nov 2013 23:10:34 +0000
(15:10 -0800)
committer
Linus Torvalds
<
[email protected]
>
Wed, 13 Nov 2013 03:09:28 +0000
(12:09 +0900)
Fixes the following warnings:
WARNING: Use #include <linux/io.h> instead of <asm/io.h>
WARNING: Use #include <linux/uaccess.h> instead of <asm/uaccess.h>
Signed-off-by: Sachin Kamat <
[email protected]
>
Cc: Yoichi Yuasa <
[email protected]
>
Cc: Jingoo Han <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
drivers/rtc/rtc-vr41xx.c
patch
|
blob
|
history
diff --git
a/drivers/rtc/rtc-vr41xx.c
b/drivers/rtc/rtc-vr41xx.c
index 54e104e197e384640c30e18bc8e73dc08b8e2f34..aabc22c587fb49025b47de4de531279832a05efd 100644
(file)
--- a/
drivers/rtc/rtc-vr41xx.c
+++ b/
drivers/rtc/rtc-vr41xx.c
@@
-20,6
+20,7
@@
#include <linux/err.h>
#include <linux/fs.h>
#include <linux/init.h>
+#include <linux/io.h>
#include <linux/ioport.h>
#include <linux/interrupt.h>
#include <linux/module.h>
@@
-27,11
+28,10
@@
#include <linux/rtc.h>
#include <linux/spinlock.h>
#include <linux/types.h>
+#include <linux/uaccess.h>
#include <linux/log2.h>
#include <asm/div64.h>
-#include <asm/io.h>
-#include <asm/uaccess.h>
MODULE_AUTHOR("Yoichi Yuasa <
[email protected]
>");
MODULE_DESCRIPTION("NEC VR4100 series RTC driver");