Skip to contentSkip to conversation

sun3_ioremap() prototype

PATCH New Al Viro 1 participant 1 message Oct 14, 2006

lore
Share & tools
lore

Al Viro

author
#0 lore raw

PATCH 1/1 sun3_ioremap() prototype

---
 include/asm-m68k/sun3mmu.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
include/asm-m68k/sun3mmu.h +2 -1
index 6c8c17d..d8f17a0 100644
@@ -4,6 +4,7 @@
 #ifndef __SUN3_MMU_H__
 #define __SUN3_MMU_H__
 
+#include <linux/types.h>
 #include <asm/movs.h>
 #include <asm/sun3-head.h>
 
@@ -160,7 +161,7 @@ static inline void sun3_put_context(unsi
 	return;
 }
 
-extern void *sun3_ioremap(unsigned long phys, unsigned long size,
+extern void __iomem *sun3_ioremap(unsigned long phys, unsigned long size,
 			  unsigned long type);
 
 extern int sun3_map_test(unsigned long addr, char *val);
Signature · 1 line
1.4.2.GIT