Commit 2ac2fab5 authored by Hector Martin's avatar Hector Martin Committed by Joerg Roedel

iommu/dart: Add missing module owner to ops structure

This is required to make loading this as a module work.
Signed-off-by: default avatarHector Martin <marcan@marcan.st>
Fixes: 46d1fb07 ("iommu/dart: Add DART iommu driver")
Reviewed-by: default avatarSven Peter <sven@svenpeter.dev>
Link: https://lore.kernel.org/r/20220502092238.30486-1-marcan@marcan.stSigned-off-by: default avatarJoerg Roedel <jroedel@suse.de>
parent a15932f4
......@@ -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,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment