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


Groups > linux.kernel > #1656004 > unrolled thread

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

Started byTobias Klauser <tklauser@distanz.ch>
First post2017-06-02 10:30 +0200
Last post2017-06-02 10:30 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 7/7] irqchip/irq-renesas-h8s: constify irq_domain_ops Tobias Klauser <tklauser@distanz.ch> - 2017-06-02 10:30 +0200

#1656004 — [PATCH 7/7] irqchip/irq-renesas-h8s: constify irq_domain_ops

FromTobias Klauser <tklauser@distanz.ch>
Date2017-06-02 10:30 +0200
Subject[PATCH 7/7] irqchip/irq-renesas-h8s: constify irq_domain_ops
Message-ID<tNQ82-6XE-15@gated-at.bofh.it>
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-h8s.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/irqchip/irq-renesas-h8s.c b/drivers/irqchip/irq-renesas-h8s.c
index af8c6c61c824..71d8139be26c 100644
--- a/drivers/irqchip/irq-renesas-h8s.c
+++ b/drivers/irqchip/irq-renesas-h8s.c
@@ -73,7 +73,7 @@ static __init 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

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web