add missing __iomem to generic iounmap declaration
Mark Salter [Tue, 4 Oct 2011 13:25:56 +0000 (09:25 -0400)]
Signed-off-by: Mark Salter <msalter@redhat.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>

include/asm-generic/io.h

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