Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 71a49d16 authored by Abhilash Kesavan's avatar Abhilash Kesavan Committed by Greg Kroah-Hartman
Browse files

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: default avatarAbhilash Kesavan <a.kesavan@samsung.com>
Acked-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent be7bee9f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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