Procházet zdrojové kódy

[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>
Wim Van Sebroeck před 16 roky
rodič
revize
278aefc51b
2 změnil soubory, kde provedl 3 přidání a 5 odebrání
  1. 1 2
      drivers/watchdog/cpwd.c
  2. 2 3
      drivers/watchdog/riowd.c

+ 1 - 2
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"

+ 2 - 3
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