commit | 564923e4c0b6505436d756dcaf8d84ca33307ee3 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Mon Feb 11 14:19:59 2019 +0100 |
committer | David S. Miller <davem@davemloft.net> | Tue Feb 12 12:09:23 2019 -0500 |
tree | 45c42805b18efc073b587e199dcf63e43d2c97c1 | |
parent | 3c69aec48f3c89bf1b29f11ea949c4f595577ab4 [diff] |
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>