diff options
author | Joerg Roedel <jroedel@suse.de> | 2016-07-08 11:47:22 +0200 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2016-07-13 12:48:35 +0200 |
commit | f37f7f33d561901d599e98a72bbf44af1f162732 (patch) | |
tree | 2e6a3a9faf832931f46cc353fabe84cc46c9bb04 /drivers/amba | |
parent | bb279475db4d0bb07e4dbc99e060362b9f3b5093 (diff) |
iommu/amd: Introduce dir2prot() helper
This function converts dma_data_direction to
iommu-protection flags. This will be needed on multiple
places in the code, so this will save some code.
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/amba')
0 files changed, 0 insertions, 0 deletions