]> git.baikalelectronics.ru Git - kernel.git/commit
au1000_eth: pass struct device to DMA API functions
authorChristoph Hellwig <hch@lst.de>
Mon, 11 Feb 2019 13:19:58 +0000 (14:19 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 12 Feb 2019 17:09:23 +0000 (12:09 -0500)
commit49d6e3647ba90d9b9d09f94f91ee98b0d01585e8
treee85c7acb8256aa8cf4f34dd9338990f99d14dcfe
parent3dc4bf0ee8cfd0002c448816dc0c0675bc5b2144
au1000_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.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amd/au1000_eth.c