summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorWim Van Sebroeck <wim@iguana.be>2009-03-18 09:09:26 +0000
committerWim Van Sebroeck <wim@iguana.be>2009-03-25 09:07:34 +0000
commit278aefc51bdbc7f1a3d39c9bd5313c78335b7828 (patch)
tree197a9fe101d0a8588528ba76dc7de20ba45c5467 /drivers
parent143a2e54bf53216674eada16e8953f48b159e08a (diff)
downloadlinux-3.10-278aefc51bdbc7f1a3d39c9bd5313c78335b7828.tar.gz
linux-3.10-278aefc51bdbc7f1a3d39c9bd5313c78335b7828.tar.bz2
linux-3.10-278aefc51bdbc7f1a3d39c9bd5313c78335b7828.zip
[WATCHDOG] Fix io.h & uaccess.h includes.
Fix following includes: * #include <asm/io.h> should be #include <linux/io.h> * #include <asm/uaccess.h> should be #include <linux/uaccess.h> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/watchdog/cpwd.c3
-rw-r--r--drivers/watchdog/riowd.c5
2 files changed, 3 insertions, 5 deletions
diff --git a/drivers/watchdog/cpwd.c b/drivers/watchdog/cpwd.c
index 0c14586f58d..41070e4771a 100644
--- a/drivers/watchdog/cpwd.c
+++ b/drivers/watchdog/cpwd.c
@@ -28,10 +28,9 @@
#include <linux/io.h>
#include <linux/of.h>
#include <linux/of_device.h>
+#include <linux/uaccess.h>
#include <asm/irq.h>
-#include <asm/uaccess.h>
-
#include <asm/watchdog.h>
#define DRIVER_NAME "cpwd"
diff --git a/drivers/watchdog/riowd.c b/drivers/watchdog/riowd.c
index 2cff53310f7..1e8f02f440e 100644
--- a/drivers/watchdog/riowd.c
+++ b/drivers/watchdog/riowd.c
@@ -14,9 +14,8 @@
#include <linux/watchdog.h>
#include <linux/of.h>
#include <linux/of_device.h>
-
-#include <asm/io.h>
-#include <asm/uaccess.h>
+#include <linux/io.h>
+#include <linux/uaccess.h>
/* RIO uses the NatSemi Super I/O power management logical device