diff options
author | Robin Murphy <robin.murphy@arm.com> | 2022-08-16 19:28:05 +0200 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2022-09-09 09:26:22 +0200 |
commit | f2042ed21da7f8886c93efefff61f93e6d57e9bd (patch) | |
tree | ae6e9f236e9b7e1cb00758ac46c35c9b1324f7bd /drivers/iommu/virtio-iommu.c | |
parent | iommu/dma: Move public interfaces to linux/iommu.h (diff) | |
download | linux-f2042ed21da7f8886c93efefff61f93e6d57e9bd.tar.xz linux-f2042ed21da7f8886c93efefff61f93e6d57e9bd.zip |
iommu/dma: Make header private
Now that dma-iommu.h only contains internal interfaces, make it
private to the IOMMU subsytem.
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Link: https://lore.kernel.org/r/b237e06c56a101f77af142a54b629b27aa179d22.1660668998.git.robin.murphy@arm.com
[ joro : re-add stub for iommu_dma_get_resv_regions ]
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/virtio-iommu.c')
-rw-r--r-- | drivers/iommu/virtio-iommu.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/iommu/virtio-iommu.c b/drivers/iommu/virtio-iommu.c index 31ab9d622b67..5ee24dc6f5ae 100644 --- a/drivers/iommu/virtio-iommu.c +++ b/drivers/iommu/virtio-iommu.c @@ -8,7 +8,6 @@ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/delay.h> -#include <linux/dma-iommu.h> #include <linux/dma-map-ops.h> #include <linux/freezer.h> #include <linux/interval_tree.h> @@ -23,6 +22,8 @@ #include <uapi/linux/virtio_iommu.h> +#include "dma-iommu.h" + #define MSI_IOVA_BASE 0x8000000 #define MSI_IOVA_LENGTH 0x100000 |