Thread (8 messages) flat view 8 messages, 5 authors, 2017-01-27

[PATCH v2] clk: samsung: mark s3c...._clk_sleep_init() as __init

From: s.nawrocki@samsung.com (Sylwester Nawrocki)
Date: 2017-01-27 10:08:59
Also in: linux-clk, linux-samsung-soc, lkml

On 01/27/2017 01:27 AM, Stephen Boyd wrote:
On 01/25, martin at kaiser.cx wrote:
quoted
From: Martin Kaiser <redacted>

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.

Signed-off-by: Martin Kaiser <redacted>
Fixes tag?
The patch fixes the very first commit adding the driver:
"ca2e90a clk: samsung: add clock controller driver for s3c2412"
and it doesn't apply cleanly on top of that commit.
Still it applies cleanly up to v3.15 so I'll add the tag when
applying.

-- 
Thanks,
Sylwester
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help