Skip to content

Commit

Permalink
iommu/dart: Add missing module owner to ops structure
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
marcan authored and joergroedel committed May 4, 2022
1 parent a15932f commit 2ac2fab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/iommu/apple-dart.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 2ac2fab

Please sign in to comment.