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 7f95fdf commit aa9993f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/iommu/apple-dart.c
Expand Up @@ -757,6 +757,7 @@ static const struct iommu_ops apple_dart_iommu_ops = {
.of_xlate = apple_dart_of_xlate,
.def_domain_type = apple_dart_def_domain_type,
.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 aa9993f

Please sign in to comment.