Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1656010
| From | Tobias Klauser <tklauser@distanz.ch> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 3/7] irqchip/irq-imx-gpcv2: constify irq_domain_ops |
| Date | 2017-06-02 10:30 +0200 |
| Message-ID | <tNQ82-6XE-25@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-imx-gpcv2.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/irqchip/irq-imx-gpcv2.c b/drivers/irqchip/irq-imx-gpcv2.c
index 9463f3557e82..bb36f572e322 100644
--- a/drivers/irqchip/irq-imx-gpcv2.c
+++ b/drivers/irqchip/irq-imx-gpcv2.c
@@ -200,7 +200,7 @@ static int imx_gpcv2_domain_alloc(struct irq_domain *domain,
&parent_fwspec);
}
-static struct irq_domain_ops gpcv2_irqchip_data_domain_ops = {
+static const struct irq_domain_ops gpcv2_irqchip_data_domain_ops = {
.translate = imx_gpcv2_domain_translate,
.alloc = imx_gpcv2_domain_alloc,
.free = irq_domain_free_irqs_common,
--
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