summaryrefslogtreecommitdiff
path: root/drivers/irqchip/irq-ts4800.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2016-02-14 16:50:04 +0300
committerJason Cooper <jason@lakedaemon.net>2016-02-18 05:09:18 +0300
commite4e1c0ea731e4a3df470110bfdf8a18d11d59351 (patch)
tree8ac4679ad2aae070ada00e332ab567bd10047c3b /drivers/irqchip/irq-ts4800.c
parentb6bc902ddca18749253093f5f8dc15391d8c2356 (diff)
downloadlinux-e4e1c0ea731e4a3df470110bfdf8a18d11d59351.tar.xz
irqchip/ts4800: Make ts4800_ic_ops static const
ts4800_ic_ops is only referenced in this driver, so make it static. In additional, it's never get modified thus also make it const. Signed-off-by: Axel Lin <axel.lin@ingics.com> Reviewed-by: Damien Riegel <damien.riegel@savoirfairelinux.com> Link: https://lkml.kernel.org/r/1455457804.13175.1.camel@ingics.com Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'drivers/irqchip/irq-ts4800.c')
-rw-r--r--drivers/irqchip/irq-ts4800.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/irqchip/irq-ts4800.c b/drivers/irqchip/irq-ts4800.c
index 4192bdcd2734..2325fb3c482b 100644
--- a/drivers/irqchip/irq-ts4800.c
+++ b/drivers/irqchip/irq-ts4800.c
@@ -59,7 +59,7 @@ static int ts4800_irqdomain_map(struct irq_domain *d, unsigned int irq,
return 0;
}
-struct irq_domain_ops ts4800_ic_ops = {
+static const struct irq_domain_ops ts4800_ic_ops = {
.map = ts4800_irqdomain_map,
.xlate = irq_domain_xlate_onecell,
};