iommu: Move iommu_fwspec to struct dev_iommu
authorJoerg Roedel <jroedel@suse.de>
Thu, 26 Mar 2020 15:08:31 +0000 (16:08 +0100)
committerJoerg Roedel <jroedel@suse.de>
Fri, 27 Mar 2020 10:14:51 +0000 (11:14 +0100)
commit72acd9df18f12420001f901493c54b7364f34d60
treedf733bf8cdb5925e99ef528f615ec65c770d5d70
parent045a70426067d6a22e3e5745b55efc18fa75aabf
iommu: Move iommu_fwspec to struct dev_iommu

Move the iommu_fwspec pointer in struct device into struct dev_iommu.
This is a step in the effort to reduce the iommu related pointers in
struct device to one.

Signed-off-by: Joerg Roedel <jroedel@suse.de>
Tested-by: Will Deacon <will@kernel.org> # arm-smmu
Reviewed-by: Jean-Philippe Brucker <jean-philippe@linaro.org>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/20200326150841.10083-7-joro@8bytes.org
drivers/iommu/iommu.c
include/linux/device.h
include/linux/iommu.h