summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAbhilash Kesavan <a.kesavan@samsung.com>2015-02-06 19:15:26 +0530
committerBen Hutchings <ben@decadent.org.uk>2017-10-12 15:28:12 +0100
commite3bf269ef3b0ca85d9ff53981d25e734b9fdbaf4 (patch)
treecdd989c019471c614a83841f2b1a87c4da94b34c
parent0bdce0a368321adb9fcd2d7255cd5f3e71140212 (diff)
downloadlinux-stable-e3bf269ef3b0ca85d9ff53981d25e734b9fdbaf4.tar.gz
linux-stable-e3bf269ef3b0ca85d9ff53981d25e734b9fdbaf4.tar.bz2
linux-stable-e3bf269ef3b0ca85d9ff53981d25e734b9fdbaf4.zip
m32r: add definition of ioremap_wc to io.h
commit 71a49d16f06de2ccdf52ca247d496a2bb1ca36fe upstream. 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> Cc: Sudip Mukherjee <sudipm.mukherjee@gmail.com> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
-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 4010f1fc5b65..f9f4fb6506a3 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)
extern void iounmap(volatile void __iomem *addr);
#define ioremap_nocache(off,size) ioremap(off,size)
+#define ioremap_wc ioremap_nocache
/*
* IO bus memory addresses are also 1:1 with the physical address