aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-mips/io.h
diff options
context:
space:
mode:
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) {