|
@@ -687,7 +687,7 @@ unsigned int irq_create_of_mapping(struct device_node *controller,
|
|
|
|
|
|
/* Set type if specified and different than the current one */
|
|
/* Set type if specified and different than the current one */
|
|
if (type != IRQ_TYPE_NONE &&
|
|
if (type != IRQ_TYPE_NONE &&
|
|
- type != (irqd_get_trigger_type(irq_get_irq_data(virq))))
|
|
|
|
|
|
+ type != irq_get_trigger_type(virq))
|
|
irq_set_irq_type(virq, type);
|
|
irq_set_irq_type(virq, type);
|
|
return virq;
|
|
return virq;
|
|
}
|
|
}
|