summaryrefslogtreecommitdiff
path: root/drivers/irqchip/irq-renesas-h8s.c
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2017-06-02 10:20:58 +0200
committerMarc Zyngier <marc.zyngier@arm.com>2017-06-22 14:13:20 +0100
commitc9262475fa592c1f7777edbc2689589a5ce7266e (patch)
tree83677f7941ac82c48bb4566f24f8e50ab14e7ec6 /drivers/irqchip/irq-renesas-h8s.c
parent580393cc10f9a05a4f3b2e09fb066456f97d5b8d (diff)
irqchip/irq-renesas-h8s: Constify irq_domain_ops
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> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'drivers/irqchip/irq-renesas-h8s.c')
-rw-r--r--drivers/irqchip/irq-renesas-h8s.c2
1 files changed, 1 insertions, 1 deletions
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,
};