diff options
author | Stephen Boyd <sboyd@kernel.org> | 2021-06-30 11:58:39 -0700 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2021-06-30 11:59:45 -0700 |
commit | 498cc50b3fa99b545532dc433d53d3c0b889cc98 (patch) | |
tree | a2a77e34efa8170b1ce4a07d8ba088876c4ec909 /include/linux/fpga/fpga-mgr.h | |
parent | e4c5ef6b9584a861210cf92955b7c8b1727688b9 (diff) | |
download | linux-498cc50b3fa99b545532dc433d53d3c0b889cc98.tar.gz linux-498cc50b3fa99b545532dc433d53d3c0b889cc98.tar.bz2 linux-498cc50b3fa99b545532dc433d53d3c0b889cc98.zip |
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: kernel test robot <lkp@intel.com>
Cc: Dongjiu Geng <gengdongjiu@huawei.com>
Fixes: 6c81966107dc ("clk: hisilicon: Add clock driver for hi3559A SoC")
Link: https://lore.kernel.org/r/20210630185839.3680834-1-sboyd@kernel.org
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions