projects/linux·commit cbff6766

[PATCH] sun3_ioremap() prototype

cbff6766 · Al Viro <[email protected]> · 2006-10-14 16:53:38 +01:00

Signed-off-by: Al Viro <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Commit
cbff67668d597da48f8bc48549a9630cbf968f34
Parents
6ce6b3ae

Changes

1 files changed · +2 −1

FileStatusAddDelContent
include/asm-m68k/sun3mmu.hmodified+2−1View file

include/asm-m68k/sun3mmu.h

View file
diff --git a/include/asm-m68k/sun3mmu.h b/include/asm-m68k/sun3mmu.h
index 6c8c17d..d8f17a0 100644
--- a/include/asm-m68k/sun3mmu.h
+++ b/include/asm-m68k/sun3mmu.h
@@ -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(unsigned char c)
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);