diff options
-rw-r--r-- | kernel/irq/irqdomain.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/irq/irqdomain.c b/kernel/irq/irqdomain.c index 1db9e70f5488..489921e6242a 100644 --- a/kernel/irq/irqdomain.c +++ b/kernel/irq/irqdomain.c | |||
@@ -687,7 +687,7 @@ unsigned int irq_create_of_mapping(struct device_node *controller, | |||
687 | 687 | ||
688 | /* Set type if specified and different than the current one */ | 688 | /* Set type if specified and different than the current one */ |
689 | if (type != IRQ_TYPE_NONE && | 689 | if (type != IRQ_TYPE_NONE && |
690 | type != (irqd_get_trigger_type(irq_get_irq_data(virq)))) | 690 | type != irq_get_trigger_type(virq)) |
691 | irq_set_irq_type(virq, type); | 691 | irq_set_irq_type(virq, type); |
692 | return virq; | 692 | return virq; |
693 | } | 693 | } |