commit | e86b76f63351e8393c6a7d15bd46366da16ffd3f | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Mon Feb 11 14:20:01 2019 +0100 |
committer | David S. Miller <davem@davemloft.net> | Tue Feb 12 12:09:23 2019 -0500 |
tree | c3381f41e4586490de1b144cc0769fe8ceda20ca | |
parent | 74e0deb89a8ba27c132b1f0e08643e215b5c1f92 [diff] |
pxa168_eth: pass struct device to DMA API functions The DMA API generally relies on a struct device to work properly, and only barely works without one for legacy reasons. Pass the easily available struct device from the platform_device to remedy this. Note that this driver seems to entirely lack dma_map_single error handling, but that is left for another time. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: David S. Miller <davem@davemloft.net>