From: Sekhar Nori Date: Tue, 9 Mar 2010 01:20:37 +0000 (+0000) Subject: net: davinci emac: use dma_{map, unmap}_single API for cache coherency X-Git-Tag: v2.6.34-rc2~28^2~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=be5bce2bf5cfe021bc6bdff4d49fa18776bc293d;p=pandora-kernel.git net: davinci emac: use dma_{map, unmap}_single API for cache coherency The davinci emac driver uses some ARM specific DMA APIs for cache coherency which have been removed from kernel with the 2.6.34 merge. Modify the driver to use the dma_{map, unmap}_single() APIs defined in dma-mapping.h Without this fix, the driver fails to compile on Linus's tree. Tested on DM365 and OMAP-L138 EVMs. Signed-off-by: Sekhar Nori Acked-by: Kevin Hilman Signed-off-by: David S. Miller --- Reading git-diff-tree failed