Skip to content

Commit

Permalink
m32r: add definition of ioremap_wc to io.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Abhilash Kesavan authored and gregkh committed Mar 16, 2015
1 parent be7bee9 commit 71a49d1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/m32r/include/asm/io.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 71a49d1

Please sign in to comment.