nios2: remove __iounmap

No need to indirect iounmap for nios2.

Signed-off-by: Christoph Hellwig <hch@lst.de>
This commit is contained in:
Christoph Hellwig
2019-08-13 08:11:46 +02:00
parent 9425172ecd
commit 3f3ded99ae
2 changed files with 4 additions and 9 deletions

View File

@@ -26,12 +26,7 @@
#define writel_relaxed(x, addr) writel(x, addr)
void __iomem *ioremap(unsigned long physaddr, unsigned long size);
extern void __iounmap(void __iomem *addr);
static inline void iounmap(void __iomem *addr)
{
__iounmap(addr);
}
void iounmap(void __iomem *addr);
/* Pages to physical address... */
#define page_to_phys(page) virt_to_phys(page_to_virt(page))