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)
commit210d0797c97d0e8f3b1a932a0dc143f4c57008a3
tree84538c41d603f958d11d75e68b12e313b98ac561
parentf57494321cbf5b1e7769b6135407d2995a369e28
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: 10314e09 ("riscv: add swiotlb support")
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reported-by: Andreas Schwab <schwab@suse.de>
kernel/dma/swiotlb.c