From: Ralf Baechle Date: Thu, 7 Dec 2006 04:38:56 +0000 (-0800) Subject: [PATCH] Pass struct dev pointer to dma_cache_sync() X-Git-Tag: v2.6.20-rc1~145^2^2~105 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d3fa72e4556ec1f04e46a0d561d9e785ecaa173d;p=pandora-kernel.git [PATCH] Pass struct dev pointer to dma_cache_sync() Pass struct dev pointer to dma_cache_sync() dma_cache_sync() is ill-designed in that it does not have a struct device pointer argument which makes proper support for systems that consist of a mix of coherent and non-coherent DMA devices hard. Change dma_cache_sync to take a struct device pointer as first argument and fix all its callers to pass it. Signed-off-by: Ralf Baechle Cc: James Bottomley Cc: "David S. Miller" Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed