irqchip/irq-mips-gic: Constify irq_domain_ops
struct irq_domain_ops is not modified, so it can be made const. Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
This commit is contained in:
parent
e183c2a3ea
commit
0b7e815aaa
|
@ -874,7 +874,7 @@ int gic_ipi_domain_match(struct irq_domain *d, struct device_node *node,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct irq_domain_ops gic_ipi_domain_ops = {
|
static const struct irq_domain_ops gic_ipi_domain_ops = {
|
||||||
.xlate = gic_ipi_domain_xlate,
|
.xlate = gic_ipi_domain_xlate,
|
||||||
.alloc = gic_ipi_domain_alloc,
|
.alloc = gic_ipi_domain_alloc,
|
||||||
.free = gic_ipi_domain_free,
|
.free = gic_ipi_domain_free,
|
||||||
|
|
Loading…
Reference in New Issue