From: Hector Martin <marcan@marcan.st>
Date: Mon, 2 May 2022 18:22:38 +0900
Subject: iommu/dart: Add missing module owner to ops structure
Git-commit: 2ac2fab52917ae82cbca97cf6e5d2993530257ed
Patch-mainline: v5.18-rc6
References: git-fixes
This is required to make loading this as a module work.
Signed-off-by: Hector Martin <marcan@marcan.st>
Fixes: 46d1fb072e76 ("iommu/dart: Add DART iommu driver")
Reviewed-by: Sven Peter <sven@svenpeter.dev>
Link: https://lore.kernel.org/r/20220502092238.30486-1-marcan@marcan.st
Signed-off-by: Joerg Roedel <jroedel@suse.de>
---
drivers/iommu/apple-dart.c | 1 +
1 file changed, 1 insertion(+)
--- a/drivers/iommu/apple-dart.c
+++ b/drivers/iommu/apple-dart.c
@@ -756,6 +756,7 @@ static const struct iommu_ops apple_dart
.iova_to_phys = apple_dart_iova_to_phys,
.free = apple_dart_domain_free,
}
+ .owner = THIS_MODULE,
};
static irqreturn_t apple_dart_irq(int irq, void *dev)