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
[ Upstream commit 2ac2fab ]

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

Signed-off-by: Hector Martin <marcan@marcan.st>
Fixes: 46d1fb0 ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
  • Loading branch information
marcan authored and gregkh committed May 12, 2022
1 parent 29e515b commit 71d2be7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/iommu/apple-dart.c
Expand Up @@ -782,6 +782,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,
};

static irqreturn_t apple_dart_irq(int irq, void *dev)
Expand Down

0 comments on commit 71d2be7

Please sign in to comment.