diff options
author | Lucas Stach <l.stach@pengutronix.de> | 2022-04-06 19:37:00 +0300 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2022-05-04 18:44:45 +0300 |
commit | e9a50f12e579a48e124ac5adb93dafc35f0a46b8 (patch) | |
tree | 1cd6fa78bcd5fd00443a04338031ed537050122f /drivers/irqchip | |
parent | 8ca61cde32c1db778aa52631184484e051cbdf27 (diff) | |
download | linux-e9a50f12e579a48e124ac5adb93dafc35f0a46b8.tar.xz |
irqchip/imx-irqsteer: Constify irq_chip struct
The imx_irqsteer_irq_chip struct is constant data.
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20220406163701.1277930-1-l.stach@pengutronix.de
Diffstat (limited to 'drivers/irqchip')
-rw-r--r-- | drivers/irqchip/irq-imx-irqsteer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/irqchip/irq-imx-irqsteer.c b/drivers/irqchip/irq-imx-irqsteer.c index 8d91a02593fc..e286e7c5ccbf 100644 --- a/drivers/irqchip/irq-imx-irqsteer.c +++ b/drivers/irqchip/irq-imx-irqsteer.c @@ -70,7 +70,7 @@ static void imx_irqsteer_irq_mask(struct irq_data *d) raw_spin_unlock_irqrestore(&data->lock, flags); } -static struct irq_chip imx_irqsteer_irq_chip = { +static const struct irq_chip imx_irqsteer_irq_chip = { .name = "irqsteer", .irq_mask = imx_irqsteer_irq_mask, .irq_unmask = imx_irqsteer_irq_unmask, |