Skip to content
Snippets Groups Projects
Commit 498cc50b authored by Stephen Boyd's avatar Stephen Boyd
Browse files

clk: hisilicon: hi3559a: Drop __init markings everywhere


This driver is a platform driver. The probe function can be called after
kernel init, and try to reference kernel memory that has been freed.
Drop the __init markings everywhere here to avoid referencing initdata
from non-init code. Fixes modpost warnings.

Reported-by: default avatarkernel test robot <lkp@intel.com>
Cc: Dongjiu Geng <gengdongjiu@huawei.com>
Fixes: 6c819661 ("clk: hisilicon: Add clock driver for hi3559A SoC")
Link: https://lore.kernel.org/r/20210630185839.3680834-1-sboyd@kernel.org


Signed-off-by: default avatarStephen Boyd <sboyd@kernel.org>
parent e4c5ef6b
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment