diff options
Diffstat (limited to 'drivers/mfd/max8998-irq.c')
-rw-r--r-- | drivers/mfd/max8998-irq.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/mfd/max8998-irq.c b/drivers/mfd/max8998-irq.c index 3702056628a8..35a077477ce2 100644 --- a/drivers/mfd/max8998-irq.c +++ b/drivers/mfd/max8998-irq.c | |||
@@ -206,11 +206,8 @@ static int max8998_irq_domain_map(struct irq_domain *d, unsigned int irq, | |||
206 | irq_set_chip_data(irq, max8998); | 206 | irq_set_chip_data(irq, max8998); |
207 | irq_set_chip_and_handler(irq, &max8998_irq_chip, handle_edge_irq); | 207 | irq_set_chip_and_handler(irq, &max8998_irq_chip, handle_edge_irq); |
208 | irq_set_nested_thread(irq, 1); | 208 | irq_set_nested_thread(irq, 1); |
209 | #ifdef CONFIG_ARM | ||
210 | set_irq_flags(irq, IRQF_VALID); | ||
211 | #else | ||
212 | irq_set_noprobe(irq); | 209 | irq_set_noprobe(irq); |
213 | #endif | 210 | |
214 | return 0; | 211 | return 0; |
215 | } | 212 | } |
216 | 213 | ||