From: Florian Fainelli Date: Tue, 7 Apr 2015 20:34:01 +0000 (-0700) Subject: MIPS: DMA: Allow platforms to override only the post DMA hook X-Git-Tag: omap-for-v4.1/fixes-rc1~111^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=68ba7cb083300409eb92282417db4c179081ade3;p=pandora-kernel.git MIPS: DMA: Allow platforms to override only the post DMA hook Instead of having platforms to copy the entirety of mach-generic/dma-coherence.h, check whether these platforms have already defined a plat_post_dma_flush hook, and if not, provide an inline stub. Signed-off-by: Florian Fainelli Cc: linux-mips@linux-mips.org Cc: cernekee@gmail.com Cc: jogo@openwrt.org Patchwork: https://patchwork.linux-mips.org/patch/9725/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed