summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/sh/include/asm/io.h9
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);
extern void __iomem *ioremap_fixed(resource_size_t, unsigned long, pgprot_t);
extern void iounmap_fixed(void __iomem *);
extern void ioremap_fixed_init(void);
+#else
+static inline void __iomem *
+ioremap_fixed(resource_size t phys_addr, unsigned long size, pgprot_t prot)
+{
+ BUG();
+}
+
+static inline void ioremap_fixed_init(void) { }
+static inline void iounmap_fixed(void __iomem *addr) { }
#endif
static inline void __iomem *