aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc/hdpuftrs
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@gmail.com>2007-10-02 16:30:06 -0400
committerPaul Mackerras <paulus@samba.org>2007-10-02 22:02:43 -0400
commitd2ceb47a7cbcc50b45832c6b24c47515838d169a (patch)
tree76738bbf4ea2cc1e756dfe8e07c87e270da245a0 /drivers/misc/hdpuftrs
parenta4e32b5f0ac60e6bca7c6896f47e1c624ae45df1 (diff)
[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 @@
22#include <linux/platform_device.h> 22#include <linux/platform_device.h>
23#include <asm/uaccess.h> 23#include <asm/uaccess.h>
24#include <linux/hdpu_features.h> 24#include <linux/hdpu_features.h>
25#include <asm/io.h>
25 26
26#define SKY_CPUSTATE_VERSION "1.1" 27#define SKY_CPUSTATE_VERSION "1.1"
27 28
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 @@
20#include <linux/hdpu_features.h> 20#include <linux/hdpu_features.h>
21 21
22#include <linux/platform_device.h> 22#include <linux/platform_device.h>
23#include <asm/io.h>
23 24
24static int hdpu_nexus_probe(struct platform_device *pdev); 25static int hdpu_nexus_probe(struct platform_device *pdev);
25static int hdpu_nexus_remove(struct platform_device *pdev); 26static int hdpu_nexus_remove(struct platform_device *pdev);