--- zzzz-none-000/linux-3.10.107/arch/mips/include/asm/mach-jazz/dma-coherence.h 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/arch/mips/include/asm/mach-jazz/dma-coherence.h 2021-02-04 17:41:59.000000000 +0000 @@ -48,16 +48,10 @@ return 1; } -static inline void plat_extra_sync_for_device(struct device *dev) +static inline void plat_post_dma_flush(struct device *dev) { } -static inline int plat_dma_mapping_error(struct device *dev, - dma_addr_t dma_addr) -{ - return 0; -} - static inline int plat_device_is_coherent(struct device *dev) { return 0;