Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 210d0797 authored by Christoph Hellwig's avatar Christoph Hellwig
Browse files

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: default avatarChristoph Hellwig <hch@lst.de>
Reported-by: default avatarAndreas Schwab <schwab@suse.de>
parent f5749432
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1085,3 +1085,4 @@ const struct dma_map_ops swiotlb_dma_ops = {
	.unmap_page		= swiotlb_unmap_page,
	.dma_supported		= dma_direct_supported,
};
EXPORT_SYMBOL(swiotlb_dma_ops);