[MIPS] IP32: Fix sparse warnings.
authorArnaud Giersch <arnaud.giersch@free.fr>
Sat, 12 Nov 2005 23:38:18 +0000 (00:38 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 17 Nov 2005 16:23:48 +0000 (16:23 +0000)
Add __iomem qualifier to crime and mace pointers.

Signed-off-by: Arnaud Giersch <arnaud.giersch@free.fr>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/sgi-ip32/crime.c
include/asm-mips/ip32/crime.h
include/asm-mips/ip32/mace.h

index 52cc6d994fd81def9ad65416628f73b72e0766e7..41b5eca1148c20bdbf1047686ffcd85238b61253 100644 (file)
@@ -19,8 +19,8 @@
 #include <asm/ip32/crime.h>
 #include <asm/ip32/mace.h>
 
-struct sgi_crime *crime;
-struct sgi_mace *mace;
+struct sgi_crime __iomem *crime;
+struct sgi_mace __iomem *mace;
 
 EXPORT_SYMBOL_GPL(mace);
 
index 152879bae20ff64d82a59a9dc34e5cb586733e0c..a13702fafa8580839917a7d8d963860f58971367 100644 (file)
@@ -154,7 +154,7 @@ struct sgi_crime {
 #define CRIME_MEM_ERROR_ECC_REPL_MASK  0xffffffff
 };
 
-extern struct sgi_crime *crime;
+extern struct sgi_crime __iomem *crime;
 
 #define CRIME_HI_MEM_BASE      0x40000000      /* this is where whole 1G of RAM is mapped */
 
index e514efe44c0670ac149eaebcd034ee1a0dde1020..990082c81f3957f04abab2b5f240647216bf4742 100644 (file)
@@ -363,6 +363,6 @@ struct sgi_mace {
        char _pad6[0x80000 - sizeof(struct mace_isa)];
 };
 
-extern struct sgi_mace *mace;
+extern struct sgi_mace __iomem *mace;
 
 #endif /* __ASM_MACE_H__ */
This page took 0.026134 seconds and 5 git commands to generate.