diff options
author | Axel Lin <axel.lin@ingics.com> | 2016-02-14 21:50:04 +0800 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2016-02-18 02:09:18 +0000 |
commit | e4e1c0ea731e4a3df470110bfdf8a18d11d59351 (patch) | |
tree | 8ac4679ad2aae070ada00e332ab567bd10047c3b /drivers/irqchip | |
parent | b6bc902ddca18749253093f5f8dc15391d8c2356 (diff) | |
download | op-kernel-dev-e4e1c0ea731e4a3df470110bfdf8a18d11d59351.zip op-kernel-dev-e4e1c0ea731e4a3df470110bfdf8a18d11d59351.tar.gz |
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')
-rw-r--r-- | drivers/irqchip/irq-ts4800.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/irqchip/irq-ts4800.c b/drivers/irqchip/irq-ts4800.c index 4192bdc..2325fb3 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, }; |