diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2017-06-02 10:20:58 +0200 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2017-06-22 15:13:20 +0200 |
commit | c9262475fa592c1f7777edbc2689589a5ce7266e (patch) | |
tree | 83677f7941ac82c48bb4566f24f8e50ab14e7ec6 /drivers/irqchip | |
parent | irqchip/irq-renesas-h8300h: Constify irq_domain_ops (diff) | |
download | linux-c9262475fa592c1f7777edbc2689589a5ce7266e.tar.xz linux-c9262475fa592c1f7777edbc2689589a5ce7266e.zip |
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')
-rw-r--r-- | drivers/irqchip/irq-renesas-h8s.c | 2 |
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, }; |