OpenCloudOS-Kernel/drivers/net/caif
Christoph Hellwig e222822f9b 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>
2019-02-12 12:09:23 -05:00
..
Kconfig vhost: split out vringh Kconfig 2016-08-02 16:54:28 +03:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
caif_hsi.c net: caif: remove redundant re-assignment of pointer pfrm 2018-01-22 10:51:56 -05:00
caif_serial.c net: caif: call dev_consume_skb_any when skb xmit done 2019-01-29 10:09:28 -08:00
caif_spi.c net: caif: pass struct device to DMA API functions 2019-02-12 12:09:23 -05:00
caif_spi_slave.c drivers/net: delete non-required instances of include <linux/init.h> 2014-01-16 11:53:26 -08:00
caif_virtio.c drivers/net: Use octal not symbolic permissions 2018-03-26 12:07:49 -04:00