All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] irqchip: ativic32: constify irq_domain_ops
@ 2020-07-14 17:38 Masahiro Yamada
  2020-07-17 12:48   ` Marc Zyngier
  0 siblings, 1 reply; 3+ messages in thread
From: Masahiro Yamada @ 2020-07-14 17:38 UTC (permalink / raw)
  To: Marc Zyngier; +Cc: Thomas Gleixner, Jason Cooper, Masahiro Yamada, linux-kernel

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


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

* Re: [PATCH] irqchip: ativic32: constify irq_domain_ops
  2020-07-14 17:38 [PATCH] irqchip: ativic32: constify irq_domain_ops Masahiro Yamada
@ 2020-07-17 12:48   ` Marc Zyngier
  0 siblings, 0 replies; 3+ messages in thread
From: Marc Zyngier @ 2020-07-17 12:48 UTC (permalink / raw)
  To: Alexandre Torgue, Jason Cooper, Thomas Gleixner, Masahiro Yamada
  Cc: linux-kernel, marex, linux-arm-kernel, linux-gpio, linux-stm32

On Wed, 15 Jul 2020 02:38:57 +0900, Masahiro Yamada wrote:
> This is passed to irq_domain_add_linear(), which accepts a pointer
> to a const structure.

Applied to irq/irqchip-5.9, thanks!

[1/1] irqchip/ativic32: Constify irq_domain_ops
      commit: 605a2cf566e130c77fc2cc77fac37fb901fc868a

Cheers,

	M.
-- 
Without deviation from the norm, progress is not possible.



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

* Re: [PATCH] irqchip: ativic32: constify irq_domain_ops
@ 2020-07-17 12:48   ` Marc Zyngier
  0 siblings, 0 replies; 3+ messages in thread
From: Marc Zyngier @ 2020-07-17 12:48 UTC (permalink / raw)
  To: Alexandre Torgue, Jason Cooper, Thomas Gleixner, Masahiro Yamada
  Cc: marex, linux-gpio, linux-kernel, linux-arm-kernel, linux-stm32

On Wed, 15 Jul 2020 02:38:57 +0900, Masahiro Yamada wrote:
> This is passed to irq_domain_add_linear(), which accepts a pointer
> to a const structure.

Applied to irq/irqchip-5.9, thanks!

[1/1] irqchip/ativic32: Constify irq_domain_ops
      commit: 605a2cf566e130c77fc2cc77fac37fb901fc868a

Cheers,

	M.
-- 
Without deviation from the norm, progress is not possible.



_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2020-07-17 12:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-14 17:38 [PATCH] irqchip: ativic32: constify irq_domain_ops Masahiro Yamada
2020-07-17 12:48 ` Marc Zyngier
2020-07-17 12:48   ` Marc Zyngier

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.