summaryrefslogtreecommitdiffstats
path: root/drivers/iommu/fsl_pamu_domain.h
diff options
context:
space:
mode:
authorJoerg Roedel <jroedel@suse.de>2015-03-26 13:43:18 +0100
committerJoerg Roedel <jroedel@suse.de>2015-03-31 15:32:14 +0200
commit8d4bfe40bd001c49caa9079541ff25522e7ed55d (patch)
tree7d664e3491d03fc9766d2134e9032d7df4fed7a8 /drivers/iommu/fsl_pamu_domain.h
parentiommu/rockchip: Make use of domain_alloc and domain_free (diff)
downloadlinux-8d4bfe40bd001c49caa9079541ff25522e7ed55d.tar.xz
linux-8d4bfe40bd001c49caa9079541ff25522e7ed55d.zip
iommu/fsl: Make use of domain_alloc and domain_free
Implement domain_alloc and domain_free iommu-ops as a replacement for domain_init/domain_destroy. Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/fsl_pamu_domain.h')
-rw-r--r--drivers/iommu/fsl_pamu_domain.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iommu/fsl_pamu_domain.h b/drivers/iommu/fsl_pamu_domain.h
index c90293f99709..f2b0f741d3de 100644
--- a/drivers/iommu/fsl_pamu_domain.h
+++ b/drivers/iommu/fsl_pamu_domain.h
@@ -71,7 +71,7 @@ struct fsl_dma_domain {
u32 stash_id;
struct pamu_stash_attribute dma_stash;
u32 snoop_id;
- struct iommu_domain *iommu_domain;
+ struct iommu_domain iommu_domain;
spinlock_t domain_lock;
};