aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWim Van Sebroeck <wim@iguana.be>2009-03-18 05:09:26 -0400
committerWim Van Sebroeck <wim@iguana.be>2009-03-25 05:07:34 -0400
commit278aefc51bdbc7f1a3d39c9bd5313c78335b7828 (patch)
tree197a9fe101d0a8588528ba76dc7de20ba45c5467
parent143a2e54bf53216674eada16e8953f48b159e08a (diff)
[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>
-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 0c14586f58d4..41070e4771a0 100644
--- a/drivers/watchdog/cpwd.c
+++ b/drivers/watchdog/cpwd.c
@@ -28,10 +28,9 @@
28#include <linux/io.h> 28#include <linux/io.h>
29#include <linux/of.h> 29#include <linux/of.h>
30#include <linux/of_device.h> 30#include <linux/of_device.h>
31#include <linux/uaccess.h>
31 32
32#include <asm/irq.h> 33#include <asm/irq.h>
33#include <asm/uaccess.h>
34
35#include <asm/watchdog.h> 34#include <asm/watchdog.h>
36 35
37#define DRIVER_NAME "cpwd" 36#define DRIVER_NAME "cpwd"
diff --git a/drivers/watchdog/riowd.c b/drivers/watchdog/riowd.c
index 2cff53310f7b..1e8f02f440e6 100644
--- a/drivers/watchdog/riowd.c
+++ b/drivers/watchdog/riowd.c
@@ -14,9 +14,8 @@
14#include <linux/watchdog.h> 14#include <linux/watchdog.h>
15#include <linux/of.h> 15#include <linux/of.h>
16#include <linux/of_device.h> 16#include <linux/of_device.h>
17 17#include <linux/io.h>
18#include <asm/io.h> 18#include <linux/uaccess.h>
19#include <asm/uaccess.h>
20 19
21 20
22/* RIO uses the NatSemi Super I/O power management logical device 21/* RIO uses the NatSemi Super I/O power management logical device