aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/moxa/moxart_ether.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2019-02-11 14:20:01 +0100
committerDavid S. Miller <davem@davemloft.net>2019-02-12 12:09:23 -0500
commite86b76f63351e8393c6a7d15bd46366da16ffd3f (patch)
treec3381f41e4586490de1b144cc0769fe8ceda20ca /drivers/net/ethernet/moxa/moxart_ether.h
parentlantiq_etop: pass struct device to DMA API functions (diff)
downloadlinux-dev-e86b76f63351e8393c6a7d15bd46366da16ffd3f.tar.xz
linux-dev-e86b76f63351e8393c6a7d15bd46366da16ffd3f.zip
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>
Diffstat (limited to 'drivers/net/ethernet/moxa/moxart_ether.h')
0 files changed, 0 insertions, 0 deletions