Skip to content

Commit

Permalink
[WATCHDOG] Fix io.h & uaccess.h includes.
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
Wim Van Sebroeck committed Mar 25, 2009
1 parent 143a2e5 commit 278aefc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
3 changes: 1 addition & 2 deletions drivers/watchdog/cpwd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
5 changes: 2 additions & 3 deletions drivers/watchdog/riowd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 278aefc

Please sign in to comment.