Explorar o código

add missing __iomem to generic iounmap declaration

Signed-off-by: Mark Salter <msalter@redhat.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Mark Salter %!s(int64=13) %!d(string=hai) anos
pai
achega
e66d3c490c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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
 #endif
 
-static inline void iounmap(void *addr)
+static inline void iounmap(void __iomem *addr)
 {
 }
 #endif /* CONFIG_MMU */