summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/mfd/db8500-prcmu.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/mfd/db8500-prcmu.c')
-rw-r--r--kernel/drivers/mfd/db8500-prcmu.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/drivers/mfd/db8500-prcmu.c b/kernel/drivers/mfd/db8500-prcmu.c
index cc1a40432..e6e4bacb0 100644
--- a/kernel/drivers/mfd/db8500-prcmu.c
+++ b/kernel/drivers/mfd/db8500-prcmu.c
@@ -2654,12 +2654,11 @@ static int db8500_irq_map(struct irq_domain *d, unsigned int virq,
{
irq_set_chip_and_handler(virq, &prcmu_irq_chip,
handle_simple_irq);
- set_irq_flags(virq, IRQF_VALID);
return 0;
}
-static struct irq_domain_ops db8500_irq_ops = {
+static const struct irq_domain_ops db8500_irq_ops = {
.map = db8500_irq_map,
.xlate = irq_domain_xlate_twocell,
};