瀏覽代碼

[PATCH] m32r: missing __iomem in ioremap() declaration

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Al Viro 19 年之前
父節點
當前提交
24558a0f7a
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      include/asm-m32r/io.h

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

@@ -60,7 +60,7 @@ __ioremap(unsigned long offset, unsigned long size, unsigned long flags);
  *	address.
  */
 
-static inline void * ioremap(unsigned long offset, unsigned long size)
+static inline void __iomem *ioremap(unsigned long offset, unsigned long size)
 {
 	return __ioremap(offset, size, 0);
 }