+0
−1
+9
−2
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Requiring each IOMMU driver to initialise the 'owner' field of their 'struct iommu_ops' is error-prone and easily forgotten. Follow the example set by PCI and USB by assigning THIS_MODULE automatically when registering the ops structure with IOMMU core. Reviewed-by:Greg Kroah-Hartman <gregkh@linuxfoundation.org> Suggested-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by:
Will Deacon <will@kernel.org> (cherry picked from commit fc10cca69ee8 git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu.git arm/smmu) Change-Id: I98dd7b9155dab7dc6890f1bc61f49c124b7eca36 Signed-off-by:
Will Deacon <willdeacon@google.com> (cherry picked from commit 237cd1e40dae35e2dfc1207ecc12d5338e4f4fbd)