diff options
| author | Martin Kaiser <[email protected]> | 2017-01-25 22:42:25 +0100 |
|---|---|---|
| committer | Sylwester Nawrocki <[email protected]> | 2017-01-27 13:30:00 +0100 |
| commit | 02c952c8f95fd0adf1835704db95215f57cfc8e6 (patch) | |
| tree | 035009e0d41cbde963d3340c557632c96f993441 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
| parent | 96a8d7536f2bdd0b2f587ebff9b73e744d02e05e (diff) | |
clk: samsung: mark s3c...._clk_sleep_init() as __init
These functions are referencing s3c...._clk_regs[], which are marked as
__initdata. When compiling with CONFIG_DEBUG_SECTION_MISMATCH=y, this
produces warnings like
WARNING: vmlinux.o(.text+0x198350):
Section mismatch in reference from the function s3c2410_clk_sleep_init()
to the (unknown reference) .init.data:(unknown)
Mark the s3c...._clk_sleep_init() functions as __init in
order to fix this.
Fixes: ca2e90ac1809 ("clk: samsung: add clock controller driver for s3c2412")
Signed-off-by: Martin Kaiser <[email protected]>
Reviewed-by: Chanwoo Choi <[email protected]>
Reviewed-by: Krzysztof Kozlowski <[email protected]>
Signed-off-by: Sylwester Nawrocki <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions