]> git.baikalelectronics.ru Git - kernel.git/commit
swiotlb: export swiotlb_dma_ops
authorChristoph Hellwig <hch@lst.de>
Thu, 28 Jun 2018 11:59:25 +0000 (13:59 +0200)
committerChristoph Hellwig <hch@lst.de>
Thu, 28 Jun 2018 12:00:40 +0000 (14:00 +0200)
commit882c313fb9e15b19001e9dfa577409b06b2ba3cb
tree84538c41d603f958d11d75e68b12e313b98ac561
parent4749663130fc6c5d8ce7aba4836b805d815b211b
swiotlb: export swiotlb_dma_ops

For architectures that do not use per-device dma ops we need to export
the dma_map_ops structure returned from get_arch_dma_ops().

Fixes: 730160d4 ("riscv: add swiotlb support")
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reported-by: Andreas Schwab <schwab@suse.de>
kernel/dma/swiotlb.c