diff options
-rw-r--r-- | drivers/of/platform.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/of/platform.c b/drivers/of/platform.c index e2c252b1ff..918607a518 100644 --- a/drivers/of/platform.c +++ b/drivers/of/platform.c @@ -124,6 +124,8 @@ bool of_dma_is_coherent(struct device_node *node) case DEV_DMA_COHERENCE_DEFAULT: return IS_ENABLED(CONFIG_ARCH_DMA_DEFAULT_COHERENT); } + + BUG(); } EXPORT_SYMBOL_GPL(of_dma_is_coherent); |