Browse Source

[PATCH] sun3_ioremap() prototype

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Al Viro 18 years ago
parent
commit
cbff67668d
1 changed files with 2 additions and 1 deletions
  1. 2 1
      include/asm-m68k/sun3mmu.h

+ 2 - 1
include/asm-m68k/sun3mmu.h

@@ -4,6 +4,7 @@
 #ifndef __SUN3_MMU_H__
 #ifndef __SUN3_MMU_H__
 #define __SUN3_MMU_H__
 #define __SUN3_MMU_H__
 
 
+#include <linux/types.h>
 #include <asm/movs.h>
 #include <asm/movs.h>
 #include <asm/sun3-head.h>
 #include <asm/sun3-head.h>
 
 
@@ -160,7 +161,7 @@ static inline void sun3_put_context(unsigned char c)
 	return;
 	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);
 			  unsigned long type);
 
 
 extern int sun3_map_test(unsigned long addr, char *val);
 extern int sun3_map_test(unsigned long addr, char *val);