projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6bc902
)
irqchip/ts4800: Make ts4800_ic_ops static const
author
Axel Lin
<
[email protected]
>
Sun, 14 Feb 2016 13:50:04 +0000
(21:50 +0800)
committer
Jason Cooper
<
[email protected]
>
Thu, 18 Feb 2016 02:09:18 +0000
(
02:09
+0000)
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 <
[email protected]
>
Reviewed-by: Damien Riegel <
[email protected]
>
Link:
https://lkml.kernel.org/r/
[email protected]
Signed-off-by: Jason Cooper <
[email protected]
>
drivers/irqchip/irq-ts4800.c
patch
|
blob
|
history
diff --git
a/drivers/irqchip/irq-ts4800.c
b/drivers/irqchip/irq-ts4800.c
index 4192bdcd27340face79f0b05da538faca706c539..2325fb3c482b8714d9041eed94ea8c91095f2beb 100644
(file)
--- 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 = {
+st
atic const st
ruct irq_domain_ops ts4800_ic_ops = {
.map = ts4800_irqdomain_map,
.xlate = irq_domain_xlate_onecell,
};