mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 1/2] irqchip/imx-irqsteer: constify irq_chip struct
@ 2022-04-06 16:37 Lucas Stach
  2022-04-06 16:37 ` [PATCH 2/2] irqchip/imx-irqsteer: add runtime PM support Lucas Stach
  2022-05-04 16:15 ` [irqchip: irq/irqchip-next] irqchip/imx-irqsteer: Constify irq_chip struct irqchip-bot for Lucas Stach
  0 siblings, 2 replies; 4+ messages in thread
From: Lucas Stach @ 2022-04-06 16:37 UTC (permalink / raw)
  To: Thomas Gleixner, Marc Zyngier
  Cc: Pengutronix Kernel Team, NXP Linux Team, linux-kernel,
	linux-arm-kernel, patchwork-lst

The imx_irqsteer_irq_chip struct is constant data.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
---
 drivers/irqchip/irq-imx-irqsteer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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,
-- 
2.30.2


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-05-04 16:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-06 16:37 [PATCH 1/2] irqchip/imx-irqsteer: constify irq_chip struct Lucas Stach
2022-04-06 16:37 ` [PATCH 2/2] irqchip/imx-irqsteer: add runtime PM support Lucas Stach
2022-05-04 16:15   ` [irqchip: irq/irqchip-next] irqchip/imx-irqsteer: Add " irqchip-bot for Lucas Stach
2022-05-04 16:15 ` [irqchip: irq/irqchip-next] irqchip/imx-irqsteer: Constify irq_chip struct irqchip-bot for Lucas Stach

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®