[PATCH 2/4] Sky Cpu and Nexus: include io.h

From: Cyrill Gorcunov
Date: Thu Jul 05 2007 - 12:54:58 EST


This patch adds #include <asm/io.h> directive
to properly declare ioremap() and writel().

Signed-off-by: Cyrill Gorcunov <gorcunov@xxxxxxxxx>
---

drivers/misc/hdpuftrs/hdpu_cpustate.c | 1 +
drivers/misc/hdpuftrs/hdpu_nexus.c | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/drivers/misc/hdpuftrs/hdpu_cpustate.c b/drivers/misc/hdpuftrs/hdpu_cpustate.c
index 556f90d..fdd9e2e 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 fd3f3c2..fda9998 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);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/