public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] genirq: MSI: Constify irq_domain_ops
@ 2015-04-27 12:54 Krzysztof Kozlowski
  2015-04-27 12:54 ` [PATCH 2/2] irqchip: " Krzysztof Kozlowski
  2015-05-05  8:48 ` [tip:irq/core] genirq: MSI: " tip-bot for Krzysztof Kozlowski
  0 siblings, 2 replies; 4+ messages in thread
From: Krzysztof Kozlowski @ 2015-04-27 12:54 UTC (permalink / raw)
  To: Thomas Gleixner, Jason Cooper, Kukjin Kim, Stephen Warren,
	Lee Jones, Matthias Brugger, Maxime Ripard, linux-kernel,
	linux-arm-kernel, linux-samsung-soc, linux-rpi-kernel,
	linux-mediatek
  Cc: Krzysztof Kozlowski

The irq_domain_ops are not modified. The irqdomain core code accepts
pointer to a const data.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski.k@gmail.com>
---
 kernel/irq/msi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/irq/msi.c b/kernel/irq/msi.c
index 474de5cb394d..7bf1f1bbb7fa 100644
--- a/kernel/irq/msi.c
+++ b/kernel/irq/msi.c
@@ -124,7 +124,7 @@ static void msi_domain_free(struct irq_domain *domain, unsigned int virq,
 	irq_domain_free_irqs_top(domain, virq, nr_irqs);
 }
 
-static struct irq_domain_ops msi_domain_ops = {
+static const struct irq_domain_ops msi_domain_ops = {
 	.alloc		= msi_domain_alloc,
 	.free		= msi_domain_free,
 	.activate	= msi_domain_activate,
-- 
2.1.0


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

end of thread, other threads:[~2015-05-05  8:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-27 12:54 [PATCH 1/2] genirq: MSI: Constify irq_domain_ops Krzysztof Kozlowski
2015-04-27 12:54 ` [PATCH 2/2] irqchip: " Krzysztof Kozlowski
2015-05-05  8:48   ` [tip:irq/core] " tip-bot for Krzysztof Kozlowski
2015-05-05  8:48 ` [tip:irq/core] genirq: MSI: " tip-bot for Krzysztof Kozlowski

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