--- zzzz-none-000/linux-3.10.107/arch/mips/include/asm/mach-ip32/dma-coherence.h 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/arch/mips/include/asm/mach-ip32/dma-coherence.h 2021-02-04 17:41:59.000000000 +0000 @@ -80,15 +80,8 @@ return 1; } -static inline void plat_extra_sync_for_device(struct device *dev) +static inline void plat_post_dma_flush(struct device *dev) { - return; -} - -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)