Skip to contentSkip to conversation

m32r: missing __iomem in ioremap() declaration

PATCH New Al Viro 1 participant 1 message Sep 26, 2005

lore
Share & tools
lore

Al Viro

author
#0 lore raw

PATCH 1/1 m32r: missing __iomem in ioremap() declaration

----

include/asm-m32r/io.h +1 -1
diff -urN RC14-rc2-git5-armv-iomem/include/asm-m32r/io.h RC14-rc2-git5-m32r-iomem/include/asm-m32r/io.h
@@ -60,7 +60,7 @@
  *	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);
 }