diff options
author | Rasmus Villemoes <linux@rasmusvillemoes.dk> | 2019-10-04 11:48:25 +0200 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2019-11-19 14:19:48 -0800 |
commit | 564f86d384755e3fbb5c00703d3695df89c1e049 (patch) | |
tree | db6882ef598d8e8e2a53d0ccfcd9afe260c7e976 /include/dt-bindings | |
parent | 8247470772beb38822f226c99a2ed8c195f6b438 (diff) |
clk: mark clk_disable_unused() as __init
clk_disable_unused is only called once, as a late_initcall, so reclaim
a bit of memory by marking it (and the functions and data it is the
sole user of) as __init/__initdata. This moves ~1900 bytes from .text
to .init.text for a imx_v6_v7_defconfig.
Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Link: https://lkml.kernel.org/r/20191004094826.8320-1-linux@rasmusvillemoes.dk
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'include/dt-bindings')
0 files changed, 0 insertions, 0 deletions