summaryrefslogtreecommitdiffstats
path: root/arch/riscv/include/asm/mmio.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/riscv/include/asm/mmio.h')
-rw-r--r--arch/riscv/include/asm/mmio.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/riscv/include/asm/mmio.h b/arch/riscv/include/asm/mmio.h
index a2c809df2733..56053c9838b2 100644
--- a/arch/riscv/include/asm/mmio.h
+++ b/arch/riscv/include/asm/mmio.h
@@ -16,6 +16,8 @@
#ifndef CONFIG_MMU
#define pgprot_noncached(x) (x)
+#define pgprot_writecombine(x) (x)
+#define pgprot_device(x) (x)
#endif /* CONFIG_MMU */
/* Generic IO read/write. These perform native-endian accesses. */