Merge patch series "Some style cleanups for recent extension additions"
[platform/kernel/linux-starfive.git] / arch / riscv / include / asm / cacheflush.h
index 273ece6..8a5c246 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
 
 /*