aboutsummaryrefslogtreecommitdiffstats
path: root/arch/riscv/mm/ioremap.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/riscv/mm/ioremap.c')
-rw-r--r--arch/riscv/mm/ioremap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/riscv/mm/ioremap.c b/arch/riscv/mm/ioremap.c
index e99194a4077e..70ef2724cdf6 100644
--- a/arch/riscv/mm/ioremap.c
+++ b/arch/riscv/mm/ioremap.c
@@ -85,7 +85,7 @@ EXPORT_SYMBOL(ioremap);
85 * 85 *
86 * Caller must ensure there is only one unmapping for the same pointer. 86 * Caller must ensure there is only one unmapping for the same pointer.
87 */ 87 */
88void iounmap(void __iomem *addr) 88void iounmap(volatile void __iomem *addr)
89{ 89{
90 vunmap((void *)((unsigned long)addr & PAGE_MASK)); 90 vunmap((void *)((unsigned long)addr & PAGE_MASK));
91} 91}