浏览代码

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 年之前
父节点
当前提交
e66d3c490c
共有 1 个文件被更改,包括 1 次插入1 次删除
  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 */