Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1656007
| From | Tobias Klauser <tklauser@distanz.ch> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 5/7] irqchip/irq-mips-gic: constify irq_domain_ops |
| Date | 2017-06-02 10:30 +0200 |
| Message-ID | <tNQ82-6XE-23@gated-at.bofh.it> (permalink) |
| References | <tNQ81-6XE-11@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
struct irq_domain_ops is not modified, so it can be made const.
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
---
drivers/irqchip/irq-mips-gic.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/irqchip/irq-mips-gic.c b/drivers/irqchip/irq-mips-gic.c
index eb7fbe159963..65642a78b8a3 100644
--- a/drivers/irqchip/irq-mips-gic.c
+++ b/drivers/irqchip/irq-mips-gic.c
@@ -874,7 +874,7 @@ int gic_ipi_domain_match(struct irq_domain *d, struct device_node *node,
}
}
-static struct irq_domain_ops gic_ipi_domain_ops = {
+static const struct irq_domain_ops gic_ipi_domain_ops = {
.xlate = gic_ipi_domain_xlate,
.alloc = gic_ipi_domain_alloc,
.free = gic_ipi_domain_free,
--
2.13.0
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 0/7] irqchip: constify irq_domain_ops Tobias Klauser <tklauser@distanz.ch> - 2017-06-02 10:30 +0200
[PATCH 2/7] irqchip/i8259: constify irq_domain_ops Tobias Klauser <tklauser@distanz.ch> - 2017-06-02 10:30 +0200
[PATCH 5/7] irqchip/irq-mips-gic: constify irq_domain_ops Tobias Klauser <tklauser@distanz.ch> - 2017-06-02 10:30 +0200
[PATCH 6/7] irqchip/irq-renesas-h8300h: constify irq_domain_ops Tobias Klauser <tklauser@distanz.ch> - 2017-06-02 10:30 +0200
[PATCH 1/7] irqchip/aspeed-vic: constify irq_domain_ops Tobias Klauser <tklauser@distanz.ch> - 2017-06-02 10:30 +0200
Re: [PATCH 1/7] irqchip/aspeed-vic: constify irq_domain_ops Joel Stanley <joel@jms.id.au> - 2017-06-05 08:20 +0200
[PATCH 3/7] irqchip/irq-imx-gpcv2: constify irq_domain_ops Tobias Klauser <tklauser@distanz.ch> - 2017-06-02 10:30 +0200
Re: [PATCH 0/7] irqchip: constify irq_domain_ops Marc Zyngier <marc.zyngier@arm.com> - 2017-06-02 12:10 +0200
Re: [PATCH 0/7] irqchip: constify irq_domain_ops Tobias Klauser <tklauser@distanz.ch> - 2017-06-02 13:30 +0200
csiph-web