[POWERPC] Sky Cpu and Nexus: include io.h
authorCyrill Gorcunov <gorcunov@gmail.com>
Tue, 2 Oct 2007 20:30:06 +0000 (13:30 -0700)
committerPaul Mackerras <paulus@samba.org>
Wed, 3 Oct 2007 02:02:43 +0000 (12:02 +1000)
Add #include <asm/io.h> directive to properly declare ioremap() and
writel().

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Kumar Gala <galak@gate.crashing.org>
Cc: Brian Waite <waite@skycomputers.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
drivers/misc/hdpuftrs/hdpu_cpustate.c
drivers/misc/hdpuftrs/hdpu_nexus.c

index 1874b0740f2b12e01208416eae0a058ea52c4480..b5c6f21dcb69225f6acc35121ea2a440828cfed5 100644 (file)
@@ -22,6 +22,7 @@
 #include <linux/platform_device.h>
 #include <asm/uaccess.h>
 #include <linux/hdpu_features.h>
+#include <asm/io.h>
 
 #define SKY_CPUSTATE_VERSION           "1.1"
 
index fd3f3c22115f2d46479f9989e45cf08c7f224823..fda9998f45cac55b2b05fa3bba9dddae368e1630 100644 (file)
@@ -20,6 +20,7 @@
 #include <linux/hdpu_features.h>
 
 #include <linux/platform_device.h>
+#include <asm/io.h>
 
 static int hdpu_nexus_probe(struct platform_device *pdev);
 static int hdpu_nexus_remove(struct platform_device *pdev);