Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e4e1c0ea authored by Axel Lin's avatar Axel Lin Committed by Jason Cooper
Browse files

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: default avatarAxel Lin <axel.lin@ingics.com>
Reviewed-by: default avatarDamien Riegel <damien.riegel@savoirfairelinux.com>
Link: https://lkml.kernel.org/r/1455457804.13175.1.camel@ingics.com


Signed-off-by: default avatarJason Cooper <jason@lakedaemon.net>
parent b6bc902d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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,
};