]> git.baikalelectronics.ru Git - kernel.git/commit
net: davinci emac: use dma_{map, unmap}_single API for cache coherency
authorSekhar Nori <nsekhar@ti.com>
Tue, 9 Mar 2010 01:20:37 +0000 (01:20 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 15 Mar 2010 22:46:59 +0000 (15:46 -0700)
commit9b2cabb8254dc0ba842a1d2bba12187423205ea9
treeb5c545837570c42b79e10e603fcdec506e93cae3
parent55c2d2af58fd39d6d5aacefac31cb8780e0bb250
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 <nsekhar@ti.com>
Acked-by: Kevin Hilman <khilman@deeprootsystems.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/davinci_emac.c