summaryrefslogtreecommitdiffstats
path: root/drivers/misc/hdpuftrs
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@gmail.com>2007-10-02 22:30:06 +0200
committerPaul Mackerras <paulus@samba.org>2007-10-03 04:02:43 +0200
commitd2ceb47a7cbcc50b45832c6b24c47515838d169a (patch)
tree76738bbf4ea2cc1e756dfe8e07c87e270da245a0 /drivers/misc/hdpuftrs
parent[POWERPC] Sky Cpu and Nexus: code style improvement (diff)
downloadlinux-d2ceb47a7cbcc50b45832c6b24c47515838d169a.tar.xz
linux-d2ceb47a7cbcc50b45832c6b24c47515838d169a.zip
[POWERPC] Sky Cpu and Nexus: include io.h
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>
Diffstat (limited to 'drivers/misc/hdpuftrs')
-rw-r--r--drivers/misc/hdpuftrs/hdpu_cpustate.c1
-rw-r--r--drivers/misc/hdpuftrs/hdpu_nexus.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/misc/hdpuftrs/hdpu_cpustate.c b/drivers/misc/hdpuftrs/hdpu_cpustate.c
index 1874b0740f2b..b5c6f21dcb69 100644
--- a/drivers/misc/hdpuftrs/hdpu_cpustate.c
+++ b/drivers/misc/hdpuftrs/hdpu_cpustate.c
@@ -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"
diff --git a/drivers/misc/hdpuftrs/hdpu_nexus.c b/drivers/misc/hdpuftrs/hdpu_nexus.c
index fd3f3c22115f..fda9998f45ca 100644
--- a/drivers/misc/hdpuftrs/hdpu_nexus.c
+++ b/drivers/misc/hdpuftrs/hdpu_nexus.c
@@ -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);