nios2: remove __iounmap
No need to indirect iounmap for nios2. Signed-off-by: Christoph Hellwig <hch@lst.de>
This commit is contained in:
@@ -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))
|
||||
|
Reference in New Issue
Block a user