]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9c0c830b8725e1dbab392fd73a84b951d01d142d
treedf733bf8cdb5925e99ef528f615ec65c770d5d70
parentf811174ff0fc622b9bec4cca070dc5e0bf691324
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