aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAbhilash Kesavan <a.kesavan@samsung.com>2015-02-06 08:45:26 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-03-16 16:11:32 -0400
commit71a49d16f06de2ccdf52ca247d496a2bb1ca36fe (patch)
tree55a762c603bfbc315f3328b05d65f0e42369f9a3
parentbe7bee9f80c1237e70cc6411e5b432681941247c (diff)
m32r: add definition of ioremap_wc to io.h
Before adding a resource managed ioremap_wc function, we need to have ioremap_wc defined for m32r to prevent build errors. Signed-off-by: Abhilash Kesavan <a.kesavan@samsung.com> Acked-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--arch/m32r/include/asm/io.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/m32r/include/asm/io.h b/arch/m32r/include/asm/io.h
index 6e7787f3dac7..9cc00dbd59ce 100644
--- a/arch/m32r/include/asm/io.h
+++ b/arch/m32r/include/asm/io.h
@@ -67,6 +67,7 @@ static inline void __iomem *ioremap(unsigned long offset, unsigned long size)
67 67
68extern void iounmap(volatile void __iomem *addr); 68extern void iounmap(volatile void __iomem *addr);
69#define ioremap_nocache(off,size) ioremap(off,size) 69#define ioremap_nocache(off,size) ioremap(off,size)
70#define ioremap_wc ioremap_nocache
70 71
71/* 72/*
72 * IO bus memory addresses are also 1:1 with the physical address 73 * IO bus memory addresses are also 1:1 with the physical address