summaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc/cpm2.h
diff options
context:
space:
mode:
authorScott Wood <scottwood@freescale.com>2007-09-14 15:30:44 -0500
committerKumar Gala <galak@kernel.crashing.org>2007-10-04 11:02:04 -0500
commit449012daa92a60e42f0d55478641cfa796d51528 (patch)
tree0d79f3259147e7fda762ab1e07586697c22641a2 /include/asm-powerpc/cpm2.h
parent544cdabe642e5508e784de709530a74d0775d070 (diff)
[POWERPC] cpm2: Infrastructure code cleanup.
Mostly sparse fixes (__iomem annotations, etc); also, cpm2_immr is used rather than creating many temporary mappings. Signed-off-by: Scott Wood <scottwood@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'include/asm-powerpc/cpm2.h')
-rw-r--r--include/asm-powerpc/cpm2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-powerpc/cpm2.h b/include/asm-powerpc/cpm2.h
index 12a2860f9a9..c0365060979 100644
--- a/include/asm-powerpc/cpm2.h
+++ b/include/asm-powerpc/cpm2.h
@@ -107,7 +107,7 @@
/* Export the base address of the communication processor registers
* and dual port ram.
*/
-extern cpm_cpm2_t *cpmp; /* Pointer to comm processor */
+extern cpm_cpm2_t __iomem *cpmp; /* Pointer to comm processor */
extern unsigned long cpm_dpalloc(uint size, uint align);
extern int cpm_dpfree(unsigned long offset);