summaryrefslogtreecommitdiff
path: root/drivers/iommu/irq_remapping.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2020-08-26 13:16:39 +0200
committerThomas Gleixner <tglx@linutronix.de>2020-09-16 16:52:30 +0200
commit6b6256e616f7e10c4434cfcd32371fc33ca94e48 (patch)
treef3a99fb618ee2ae110538c81b039c420b1b2d2c3 /drivers/iommu/irq_remapping.h
parent192a99f4bd9d1d546ca276e058761a79af575744 (diff)
iommu/irq_remapping: Consolidate irq domain lookup
Now that the iommu implementations handle the X86_*_GET_PARENT_DOMAIN types, consolidate the two getter functions. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Joerg Roedel <jroedel@suse.de> Link: https://lore.kernel.org/r/20200826112331.741909337@linutronix.de
Diffstat (limited to 'drivers/iommu/irq_remapping.h')
-rw-r--r--drivers/iommu/irq_remapping.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/iommu/irq_remapping.h b/drivers/iommu/irq_remapping.h
index 6a190d504eb6..1661b3d75920 100644
--- a/drivers/iommu/irq_remapping.h
+++ b/drivers/iommu/irq_remapping.h
@@ -43,10 +43,7 @@ struct irq_remap_ops {
/* Enable fault handling */
int (*enable_faulting)(void);
- /* Get the irqdomain associated the IOMMU device */
- struct irq_domain *(*get_ir_irq_domain)(struct irq_alloc_info *);
-
- /* Get the MSI irqdomain associated with the IOMMU device */
+ /* Get the irqdomain associated to IOMMU device */
struct irq_domain *(*get_irq_domain)(struct irq_alloc_info *);
};