summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2016-02-14 14:50:04 +0100
committerJason Cooper <jason@lakedaemon.net>2016-02-18 03:09:18 +0100
commite4e1c0ea731e4a3df470110bfdf8a18d11d59351 (patch)
tree8ac4679ad2aae070ada00e332ab567bd10047c3b /drivers
parentirqchip/bcm2836: Drop extra memory barrier in SMP boot. (diff)
downloadlinux-e4e1c0ea731e4a3df470110bfdf8a18d11d59351.tar.xz
linux-e4e1c0ea731e4a3df470110bfdf8a18d11d59351.zip
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')
-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,
};