aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-mips/io.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2005-03-01 05:38:58 -0500
committerRalf Baechle <ralf@linux-mips.org>2005-10-29 14:30:48 -0400
commit0f04afb59565c3029563b9a79b3513c9f3327a27 (patch)
tree36298347f5f44600560a525c537172b230b326a9 /include/asm-mips/io.h
parent2d32ffa44a5323fda147bd5b0723744a9163e37f (diff)
ISOify.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include/asm-mips/io.h')
-rw-r--r--include/asm-mips/io.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-mips/io.h b/include/asm-mips/io.h
index 644c085e29f3..e03cb77b131c 100644
--- a/include/asm-mips/io.h
+++ b/include/asm-mips/io.h
@@ -202,10 +202,10 @@ extern unsigned long isa_slot_offset;
202 */ 202 */
203#define page_to_phys(page) ((dma_addr_t)page_to_pfn(page) << PAGE_SHIFT) 203#define page_to_phys(page) ((dma_addr_t)page_to_pfn(page) << PAGE_SHIFT)
204 204
205extern void * __ioremap(phys_t offset, phys_t size, unsigned long flags); 205extern void __iomem * __ioremap(phys_t offset, phys_t size, unsigned long flags);
206extern void __iounmap(volatile void __iomem *addr); 206extern void __iounmap(volatile void __iomem *addr);
207 207
208static inline void * __ioremap_mode(phys_t offset, unsigned long size, 208static inline void __iomem * __ioremap_mode(phys_t offset, unsigned long size,
209 unsigned long flags) 209 unsigned long flags)
210{ 210{
211 if (cpu_has_64bit_addresses) { 211 if (cpu_has_64bit_addresses) {