Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1656008

[PATCH 6/7] irqchip/irq-renesas-h8300h: constify irq_domain_ops

From Tobias Klauser <tklauser@distanz.ch>
Newsgroups linux.kernel
Subject [PATCH 6/7] irqchip/irq-renesas-h8300h: constify irq_domain_ops
Date 2017-06-02 10:30 +0200
Message-ID <tNQ82-6XE-21@gated-at.bofh.it> (permalink)
References <tNQ81-6XE-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


struct irq_domain_ops is not modified, so it can be made const.

Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Cc: uclinux-h8-devel@lists.sourceforge.jp
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
---
 drivers/irqchip/irq-renesas-h8300h.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/irqchip/irq-renesas-h8300h.c b/drivers/irqchip/irq-renesas-h8300h.c
index c378768d75b3..b8327590ae52 100644
--- a/drivers/irqchip/irq-renesas-h8300h.c
+++ b/drivers/irqchip/irq-renesas-h8300h.c
@@ -67,7 +67,7 @@ static int irq_map(struct irq_domain *h, unsigned int virq,
        return 0;
 }
 
-static struct irq_domain_ops irq_ops = {
+static const struct irq_domain_ops irq_ops = {
        .map    = irq_map,
        .xlate  = irq_domain_xlate_onecell,
 };
-- 
2.13.0

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


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