From: Hector Martin Date: Mon, 2 May 2022 09:22:38 +0000 (+0900) Subject: iommu/dart: Add missing module owner to ops structure X-Git-Tag: v5.15.73~4423 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=aa9993f8f984445c8edc5c941912b682a6ddcdc6;p=platform%2Fkernel%2Flinux-rpi.git iommu/dart: Add missing module owner to ops structure [ Upstream commit 2ac2fab52917ae82cbca97cf6e5d2993530257ed ] This is required to make loading this as a module work. Signed-off-by: Hector Martin Fixes: 46d1fb072e76 ("iommu/dart: Add DART iommu driver") Reviewed-by: Sven Peter Link: https://lore.kernel.org/r/20220502092238.30486-1-marcan@marcan.st Signed-off-by: Joerg Roedel Signed-off-by: Sasha Levin --- diff --git a/drivers/iommu/apple-dart.c b/drivers/iommu/apple-dart.c index 9c9bbcc..baba457 100644 --- a/drivers/iommu/apple-dart.c +++ b/drivers/iommu/apple-dart.c @@ -757,6 +757,7 @@ static const struct iommu_ops apple_dart_iommu_ops = { .of_xlate = apple_dart_of_xlate, .def_domain_type = apple_dart_def_domain_type, .pgsize_bitmap = -1UL, /* Restricted during dart probe */ + .owner = THIS_MODULE, }; static irqreturn_t apple_dart_irq(int irq, void *dev)