Commit 01364028 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Thomas Gleixner

genirq: MSI: Constify irq_domain_ops

The irq_domain_ops are not modified. The irqdomain core code accepts
pointer to a const data.
Signed-off-by: default avatarKrzysztof Kozlowski <k.kozlowski.k@gmail.com>
Cc: Jason Cooper <jason@lakedaemon.net>
Cc: Kukjin Kim <kgene@kernel.org>
Cc: Stephen Warren <swarren@wwwdotorg.org>
Cc: Lee Jones <lee@kernel.org>
Cc: Matthias Brugger <matthias.bgg@gmail.com>
Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-rpi-kernel@lists.infradead.org
Cc: linux-mediatek@lists.infradead.org
Link: http://lkml.kernel.org/r/1430139264-4362-1-git-send-email-k.kozlowski.k@gmail.comSigned-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 5ebe6afa
...@@ -124,7 +124,7 @@ static void msi_domain_free(struct irq_domain *domain, unsigned int virq, ...@@ -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); 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, .alloc = msi_domain_alloc,
.free = msi_domain_free, .free = msi_domain_free,
.activate = msi_domain_activate, .activate = msi_domain_activate,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment