diff options
author | Christoph Hellwig <hch@lst.de> | 2019-02-11 14:20:00 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-12 12:09:23 -0500 |
commit | 74e0deb89a8ba27c132b1f0e08643e215b5c1f92 (patch) | |
tree | 8e9e9440fff34c6c5810a5401529d26960654c80 /drivers/net/ethernet/sgi | |
parent | macb_main: pass struct device to DMA API functions (diff) | |
download | linux-dev-74e0deb89a8ba27c132b1f0e08643e215b5c1f92.tar.xz linux-dev-74e0deb89a8ba27c132b1f0e08643e215b5c1f92.zip |
lantiq_etop: 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 this driver seems to lack dma_unmap_* calls entirely, but fixing
that is left for another time.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/sgi')
0 files changed, 0 insertions, 0 deletions