From: Ralf Baechle Date: Thu, 7 Dec 2006 04:38:54 +0000 (-0800) Subject: [PATCH] Add struct dev pointer to dma_is_consistent() X-Git-Tag: v2.6.20-rc1~145^2^2~106 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f67637ee4b5d90d41160d755b9a8cca18c394586;p=pandora-kernel.git [PATCH] Add struct dev pointer to dma_is_consistent() dma_is_consistent() 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_is_consistent to take a struct device pointer as first argument and fix the sole caller 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