Patchwork [19/26] drivers/rtc/rtc-omap.c: Include <linux/io.h> instead of <asm/io.h>

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

Comments

Sachin Kamat - May 3, 2013, 6:21 a.m.
Use #include <linux/io.h> instead of <asm/io.h> as pointed out by
checkpatch.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: George G. Davis <gdavis@mvista.com>
---
 drivers/rtc/rtc-omap.c |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

Patch

diff --git a/drivers/rtc/rtc-omap.c b/drivers/rtc/rtc-omap.c
index 4e1bdb8..17ce3a0 100644
--- a/drivers/rtc/rtc-omap.c
+++ b/drivers/rtc/rtc-omap.c
@@ -23,9 +23,7 @@ 
 #include <linux/of.h>
 #include <linux/of_device.h>
 #include <linux/pm_runtime.h>
-
-#include <asm/io.h>
-
+#include <linux/io.h>
 
 /* The OMAP1 RTC is a year/month/day/hours/minutes/seconds BCD clock
  * with century-range alarm matching, driven by the 32kHz clock.