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

Commit 4f869790 authored by Isaac J. Manjarres's avatar Isaac J. Manjarres Committed by Gerrit - the friendly Code Review server
Browse files

iommu/dma-iommu: Allow dma_info_to_prot to be used globally



The dma_info_to_prot() function is needed for drivers that
implement their own DMA operation so that the DMA directions
and attributes can be translated to IOMMU page flags, so
make it a global function.

Change-Id: I4d74f193f75801e2d481f3a2ec4044f2da2ae8aa
Signed-off-by: default avatarIsaac J. Manjarres <isaacm@codeaurora.org>
parent 944b9617
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment