]> git.karo-electronics.de Git - linux-beck.git/commitdiff
m32r: add definition of ioremap_wc to io.h
authorAbhilash Kesavan <a.kesavan@samsung.com>
Fri, 6 Feb 2015 13:45:26 +0000 (19:15 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Mar 2015 20:11:32 +0000 (21:11 +0100)
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>
arch/m32r/include/asm/io.h

index 6e7787f3dac7bb52f87ec33378193b14f65bf70c..9cc00dbd59cef4096b186fd1ffe5e4b51766f430 100644 (file)
@@ -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