aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/irq.h
diff options
context:
space:
mode:
authorNicolas Pitre <nicolas.pitre@linaro.org>2015-07-24 15:24:45 -0400
committerThomas Gleixner <tglx@linutronix.de>2015-07-27 08:09:38 +0200
commitc376023b7096e76ac4d5526105cf9be8743bead9 (patch)
treef926d4d2e7f260a293eb8cac35f198ca7ffb5e53 /include/linux/irq.h
parentgenirq: Export irq_[get|set]_irqchip_state() (diff)
downloadlinux-dev-c376023b7096e76ac4d5526105cf9be8743bead9.tar.xz
linux-dev-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 'include/linux/irq.h')
0 files changed, 0 insertions, 0 deletions