diff options
-rw-r--r-- | arch/sh/include/asm/io.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/sh/include/asm/io.h b/arch/sh/include/asm/io.h index bee5965e0a82..9aa9438c66c3 100644 --- a/arch/sh/include/asm/io.h +++ b/arch/sh/include/asm/io.h | |||
@@ -241,6 +241,15 @@ void __iounmap(void __iomem *addr); | |||
241 | extern void __iomem *ioremap_fixed(resource_size_t, unsigned long, pgprot_t); | 241 | extern void __iomem *ioremap_fixed(resource_size_t, unsigned long, pgprot_t); |
242 | extern void iounmap_fixed(void __iomem *); | 242 | extern void iounmap_fixed(void __iomem *); |
243 | extern void ioremap_fixed_init(void); | 243 | extern void ioremap_fixed_init(void); |
244 | #else | ||
245 | static inline void __iomem * | ||
246 | ioremap_fixed(resource_size t phys_addr, unsigned long size, pgprot_t prot) | ||
247 | { | ||
248 | BUG(); | ||
249 | } | ||
250 | |||
251 | static inline void ioremap_fixed_init(void) { } | ||
252 | static inline void iounmap_fixed(void __iomem *addr) { } | ||
244 | #endif | 253 | #endif |
245 | 254 | ||
246 | static inline void __iomem * | 255 | static inline void __iomem * |