Skip to content

Commit 2ac2fab

Browse files
marcanjoergroedel
authored andcommitted
iommu/dart: Add missing module owner to ops structure
This is required to make loading this as a module work. Signed-off-by: Hector Martin <[email protected]> Fixes: 46d1fb0 ("iommu/dart: Add DART iommu driver") Reviewed-by: Sven Peter <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Joerg Roedel <[email protected]>
1 parent a15932f commit 2ac2fab

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/iommu/apple-dart.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -773,6 +773,7 @@ static const struct iommu_ops apple_dart_iommu_ops = {
773773
.get_resv_regions = apple_dart_get_resv_regions,
774774
.put_resv_regions = generic_iommu_put_resv_regions,
775775
.pgsize_bitmap = -1UL, /* Restricted during dart probe */
776+
.owner = THIS_MODULE,
776777
.default_domain_ops = &(const struct iommu_domain_ops) {
777778
.attach_dev = apple_dart_attach_dev,
778779
.detach_dev = apple_dart_detach_dev,

0 commit comments

Comments
 (0)