Messages in this thread Patch in this message | | | From | Masahiro Yamada <> | Subject | [PATCH] irqchip: ativic32: constify irq_domain_ops | Date | Wed, 15 Jul 2020 02:38:57 +0900 |
| |
This is passed to irq_domain_add_linear(), which accepts a pointer to a const structure.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> ---
drivers/irqchip/irq-ativic32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/irqchip/irq-ativic32.c b/drivers/irqchip/irq-ativic32.c index 85cf6e0e0e52..476d6024aaf2 100644 --- a/drivers/irqchip/irq-ativic32.c +++ b/drivers/irqchip/irq-ativic32.c @@ -92,7 +92,7 @@ static int ativic32_irq_domain_map(struct irq_domain *id, unsigned int virq, return 0; } -static struct irq_domain_ops ativic32_ops = { +static const struct irq_domain_ops ativic32_ops = { .map = ativic32_irq_domain_map, .xlate = irq_domain_xlate_onecell }; -- 2.25.1
| |