diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-10-16 11:05:27 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-10-16 11:05:27 -0400 |
commit | cc8e920aaf5558f87851169b33c420cc4516c253 (patch) | |
tree | 9b43296b49e9b42071c53d9a696c536cc6bc3407 /drivers | |
parent | 10e0298686be6249b0665465737a6b83446c4d35 (diff) |
intr_remapping: fix typo
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/pci/intr_remapping.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/intr_remapping.c b/drivers/pci/intr_remapping.c index 950769e87475..d6040dd3ff5b 100644 --- a/drivers/pci/intr_remapping.c +++ b/drivers/pci/intr_remapping.c | |||
@@ -23,7 +23,7 @@ static struct irq_2_iommu irq_2_iommuX[NR_IRQS]; | |||
23 | 23 | ||
24 | static struct irq_2_iommu *irq_2_iommu(unsigned int irq) | 24 | static struct irq_2_iommu *irq_2_iommu(unsigned int irq) |
25 | { | 25 | { |
26 | return (irq < nr_irqs) ?: irq_2_iommuX + irq : NULL; | 26 | return (irq < nr_irqs) ? irq_2_iommuX + irq : NULL; |
27 | } | 27 | } |
28 | 28 | ||
29 | static struct irq_2_iommu *irq_2_iommu_alloc(unsigned int irq) | 29 | static struct irq_2_iommu *irq_2_iommu_alloc(unsigned int irq) |