Browse Source

add missing __iomem to generic iounmap declaration

Signed-off-by: Mark Salter <msalter@redhat.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Mark Salter 13 years ago
parent
commit
e66d3c490c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/asm-generic/io.h

+ 1 - 1
include/asm-generic/io.h

@@ -327,7 +327,7 @@ static inline void __iomem *ioremap(phys_addr_t offset, unsigned long size)
 #define ioremap_wc ioremap_nocache
 #define ioremap_wc ioremap_nocache
 #endif
 #endif
 
 
-static inline void iounmap(void *addr)
+static inline void iounmap(void __iomem *addr)
 {
 {
 }
 }
 #endif /* CONFIG_MMU */
 #endif /* CONFIG_MMU */