Commit-ID: e4e1c0ea731e4a3df470110bfdf8a18d11d59351 Gitweb: http://git.kernel.org/tip/e4e1c0ea731e4a3df470110bfdf8a18d11d59351 Author: Axel Lin <axel.lin@xxxxxxxxxx> AuthorDate: Sun, 14 Feb 2016 21:50:04 +0800 Committer: Jason Cooper <jason@xxxxxxxxxxxxxx> CommitDate: Thu, 18 Feb 2016 02:09:18 +0000 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@xxxxxxxxxx> Reviewed-by: Damien Riegel <damien.riegel@xxxxxxxxxxxxxxxxxxxx> Link: https://lkml.kernel.org/r/1455457804.13175.1.camel@xxxxxxxxxx Signed-off-by: Jason Cooper <jason@xxxxxxxxxxxxxx> --- drivers/irqchip/irq-ts4800.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, }; -- To unsubscribe from this list: send the line "unsubscribe linux-tip-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
![]() |