diff options
author | Christoph Hellwig <hch@lst.de> | 2019-02-11 14:19:57 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-12 12:09:23 -0500 |
commit | e222822f9be03c6d985ba1af1f22ec863368b8d0 (patch) | |
tree | 248dc74a9d6746e9bb81b845911f4273ba231663 /drivers/net/loopback.c | |
parent | 99e1311475a19d19f0fd6d940254d7ab6113c675 (diff) |
net: caif: 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.
Also use the proper Kconfig symbol to check for DMA API availability.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/loopback.c')
0 files changed, 0 insertions, 0 deletions