diff options
-rw-r--r-- | arch/microblaze/include/asm/io.h | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/arch/microblaze/include/asm/io.h b/arch/microblaze/include/asm/io.h index 9ac409ad906b..f82df5d221a8 100644 --- a/arch/microblaze/include/asm/io.h +++ b/arch/microblaze/include/asm/io.h | |||
@@ -15,6 +15,7 @@ | |||
15 | #include <asm/page.h> | 15 | #include <asm/page.h> |
16 | #include <linux/types.h> | 16 | #include <linux/types.h> |
17 | #include <linux/mm.h> /* Get struct page {...} */ | 17 | #include <linux/mm.h> /* Get struct page {...} */ |
18 | #include <asm-generic/iomap.h> | ||
18 | 19 | ||
19 | #define PCI_DRAM_OFFSET 0 | 20 | #define PCI_DRAM_OFFSET 0 |
20 | 21 | ||
@@ -228,15 +229,7 @@ static inline void __iomem *__ioremap(phys_addr_t address, unsigned long size, | |||
228 | #define out_8(a, v) __raw_writeb((v), (a)) | 229 | #define out_8(a, v) __raw_writeb((v), (a)) |
229 | #define in_8(a) __raw_readb(a) | 230 | #define in_8(a) __raw_readb(a) |
230 | 231 | ||
231 | /* FIXME */ | 232 | #define ioport_map(port, nr) ((void __iomem *)(port)) |
232 | static inline void __iomem *ioport_map(unsigned long port, unsigned int len) | 233 | #define ioport_unmap(addr) |
233 | { | ||
234 | return (void __iomem *) (port); | ||
235 | } | ||
236 | |||
237 | static inline void ioport_unmap(void __iomem *addr) | ||
238 | { | ||
239 | /* Nothing to do */ | ||
240 | } | ||
241 | 234 | ||
242 | #endif /* _ASM_MICROBLAZE_IO_H */ | 235 | #endif /* _ASM_MICROBLAZE_IO_H */ |