diff options
author | Cyrill Gorcunov <gorcunov@gmail.com> | 2007-10-02 13:30:06 -0700 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-10-03 12:02:43 +1000 |
commit | d2ceb47a7cbcc50b45832c6b24c47515838d169a (patch) | |
tree | 76738bbf4ea2cc1e756dfe8e07c87e270da245a0 /drivers/misc/hdpuftrs | |
parent | a4e32b5f0ac60e6bca7c6896f47e1c624ae45df1 (diff) | |
download | talos-obmc-linux-d2ceb47a7cbcc50b45832c6b24c47515838d169a.tar.gz talos-obmc-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.c | 1 | ||||
-rw-r--r-- | 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 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); |