diff options
author | Christoph Hellwig <hch@lst.de> | 2019-02-11 14:19:59 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-12 12:09:23 -0500 |
commit | 564923e4c0b6505436d756dcaf8d84ca33307ee3 (patch) | |
tree | 45c42805b18efc073b587e199dcf63e43d2c97c1 /drivers/net/ethernet/sgi | |
parent | au1000_eth: pass struct device to DMA API functions (diff) | |
download | linux-dev-564923e4c0b6505436d756dcaf8d84ca33307ee3.tar.xz linux-dev-564923e4c0b6505436d756dcaf8d84ca33307ee3.zip |
macb_main: 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.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/sgi')
0 files changed, 0 insertions, 0 deletions