summaryrefslogtreecommitdiffstats
path: root/kernel/irq/generic-chip.c
diff options
context:
space:
mode:
authorNicolas Pitre <nicolas.pitre@linaro.org>2015-07-24 21:24:45 +0200
committerThomas Gleixner <tglx@linutronix.de>2015-07-27 08:09:38 +0200
commitc376023b7096e76ac4d5526105cf9be8743bead9 (patch)
treef926d4d2e7f260a293eb8cac35f198ca7ffb5e53 /kernel/irq/generic-chip.c
parentgenirq: Export irq_[get|set]_irqchip_state() (diff)
downloadlinux-c376023b7096e76ac4d5526105cf9be8743bead9.tar.xz
linux-c376023b7096e76ac4d5526105cf9be8743bead9.zip
irqchip: Appropriate __init annotation for const data
Init data marked const should be annotated with __initconst for correctness and not __initdata. And for those already __initconst, they should be qualified as const at the compiler level too. This also fixes LTO builds that otherwise fail with section mismatch errors. Signed-off-by: Nicolas Pitre <nico@linaro.org> Cc: Jason Cooper <jason@lakedaemon.net> Link: http://lkml.kernel.org/r/alpine.LFD.2.20.1507241511551.1806@knanqh.ubzr Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/irq/generic-chip.c')
0 files changed, 0 insertions, 0 deletions