diff options
author | Jisheng Zhang <Jisheng.Zhang@synaptics.com> | 2021-03-30 14:04:44 +0800 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2021-04-08 16:41:19 +0200 |
commit | e2bf384d4329bb478ad003eae1ab644756a42266 (patch) | |
tree | 33cbefa3a3e68e05624130148fbcf7dd4450a5ea /drivers/irqchip/irq-ingenic-tcu.c | |
parent | 25de4ce5ed02994aea8bc111d133308f6fd62566 (diff) |
clocksource/drivers/arm_arch_timer: Add __ro_after_init and __init
Some functions are not needed after booting, so mark them as __init
to move them to the .init section.
Some global variables are never modified after init, so can be
__ro_after_init.
Signed-off-by: Jisheng Zhang <Jisheng.Zhang@synaptics.com>
Acked-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20210330140444.4fb2a7cb@xhacker.debian
Diffstat (limited to 'drivers/irqchip/irq-ingenic-tcu.c')
0 files changed, 0 insertions, 0 deletions