Skip to contentSkip to conversation

iommu: dart: Add missing module owner to ops structure

PATCH In review Hector Martin 3 participants 3 messages May 2, 2022 – May 4, 2022

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 iommu: dart: Add missing module owner to ops structure

This is required to make loading this as a module work.

---
 drivers/iommu/apple-dart.c | 1 +
 1 file changed, 1 insertion(+)
drivers/iommu/apple-dart.c +1 -0
index decafb07ad08..a10a73282014 100644
@@ -773,6 +773,7 @@ static const struct iommu_ops apple_dart_iommu_ops = {
 	.get_resv_regions = apple_dart_get_resv_regions,
 	.put_resv_regions = generic_iommu_put_resv_regions,
 	.pgsize_bitmap = -1UL, /* Restricted during dart probe */
+	.owner = THIS_MODULE,
 	.default_domain_ops = &(const struct iommu_domain_ops) {
 		.attach_dev	= apple_dart_attach_dev,
 		.detach_dev	= apple_dart_detach_dev,
Signature · 6 lines
2.35.1

_______________________________________________
iommu mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/iommu