Merge patch series "Some style cleanups for recent extension additions"
[linux-block.git] / arch / riscv / include / asm / cacheflush.h
index 273ece6b622f62726f1c36bc7b9d8305f5df4fea..8a5c246b0a216c6d9da8e835f84fc640d2dbd2fb 100644 (file)
@@ -55,6 +55,8 @@ static inline void riscv_init_cbom_blocksize(void) { }
 
 #ifdef CONFIG_RISCV_DMA_NONCOHERENT
 void riscv_noncoherent_supported(void);
+#else
+static inline void riscv_noncoherent_supported(void) {}
 #endif
 
 /*