diff options
author | Christoph Hellwig <hch@lst.de> | 2019-08-13 09:11:46 +0300 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2019-11-11 23:18:19 +0300 |
commit | 3f3ded99aecf3498ac9a976ec2b02cf5c6281bd4 (patch) | |
tree | e75234c1dea72af5d9218e1e78cd04acc854a009 /arch/nios2/include/asm | |
parent | 9425172ecd5df77bc3ba317484132f820ff6b1db (diff) | |
download | linux-3f3ded99aecf3498ac9a976ec2b02cf5c6281bd4.tar.xz |
nios2: remove __iounmap
No need to indirect iounmap for nios2.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'arch/nios2/include/asm')
-rw-r--r-- | arch/nios2/include/asm/io.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/nios2/include/asm/io.h b/arch/nios2/include/asm/io.h index d108937c321e..746853ac7d8d 100644 --- a/arch/nios2/include/asm/io.h +++ b/arch/nios2/include/asm/io.h @@ -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)) |