summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/mfd/ab8500-core.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/mfd/ab8500-core.c')
-rw-r--r--kernel/drivers/mfd/ab8500-core.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/kernel/drivers/mfd/ab8500-core.c b/kernel/drivers/mfd/ab8500-core.c
index c80a2925f..fefbe4cfa 100644
--- a/kernel/drivers/mfd/ab8500-core.c
+++ b/kernel/drivers/mfd/ab8500-core.c
@@ -565,16 +565,12 @@ static int ab8500_irq_map(struct irq_domain *d, unsigned int virq,
irq_set_chip_and_handler(virq, &ab8500_irq_chip,
handle_simple_irq);
irq_set_nested_thread(virq, 1);
-#ifdef CONFIG_ARM
- set_irq_flags(virq, IRQF_VALID);
-#else
irq_set_noprobe(virq);
-#endif
return 0;
}
-static struct irq_domain_ops ab8500_irq_ops = {
+static const struct irq_domain_ops ab8500_irq_ops = {
.map = ab8500_irq_map,
.xlate = irq_domain_xlate_twocell,
};