diff options
| author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-11-12 18:10:34 -0500 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-11-12 22:09:28 -0500 |
| commit | 4271e7ff1a9fc49efeff8496d1e21878e7de74eb (patch) | |
| tree | 3b73c3c7cf4e7e3bcce72ae4a735167492a21922 /drivers/rtc | |
| parent | 8e3dd0d8e9217e5076538e7232e206e024a04b3c (diff) | |
drivers/rtc/rtc-vr41xx.c: fix checkpatch warnings
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 <sachin.kamat@linaro.org>
Cc: Yoichi Yuasa <yuasa@linux-mips.org>
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-vr41xx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/rtc/rtc-vr41xx.c b/drivers/rtc/rtc-vr41xx.c index 54e104e197e3..aabc22c587fb 100644 --- a/drivers/rtc/rtc-vr41xx.c +++ b/drivers/rtc/rtc-vr41xx.c | |||
| @@ -20,6 +20,7 @@ | |||
| 20 | #include <linux/err.h> | 20 | #include <linux/err.h> |
| 21 | #include <linux/fs.h> | 21 | #include <linux/fs.h> |
| 22 | #include <linux/init.h> | 22 | #include <linux/init.h> |
| 23 | #include <linux/io.h> | ||
| 23 | #include <linux/ioport.h> | 24 | #include <linux/ioport.h> |
| 24 | #include <linux/interrupt.h> | 25 | #include <linux/interrupt.h> |
| 25 | #include <linux/module.h> | 26 | #include <linux/module.h> |
| @@ -27,11 +28,10 @@ | |||
| 27 | #include <linux/rtc.h> | 28 | #include <linux/rtc.h> |
| 28 | #include <linux/spinlock.h> | 29 | #include <linux/spinlock.h> |
| 29 | #include <linux/types.h> | 30 | #include <linux/types.h> |
| 31 | #include <linux/uaccess.h> | ||
| 30 | #include <linux/log2.h> | 32 | #include <linux/log2.h> |
| 31 | 33 | ||
| 32 | #include <asm/div64.h> | 34 | #include <asm/div64.h> |
| 33 | #include <asm/io.h> | ||
| 34 | #include <asm/uaccess.h> | ||
| 35 | 35 | ||
| 36 | MODULE_AUTHOR("Yoichi Yuasa <yuasa@linux-mips.org>"); | 36 | MODULE_AUTHOR("Yoichi Yuasa <yuasa@linux-mips.org>"); |
| 37 | MODULE_DESCRIPTION("NEC VR4100 series RTC driver"); | 37 | MODULE_DESCRIPTION("NEC VR4100 series RTC driver"); |
