diff options
author | Stephen Boyd <sboyd@kernel.org> | 2021-06-30 21:58:39 +0300 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2021-06-30 21:59:45 +0300 |
commit | 498cc50b3fa99b545532dc433d53d3c0b889cc98 (patch) | |
tree | a2a77e34efa8170b1ce4a07d8ba088876c4ec909 /drivers/gpu/drm/amd/pm/amdgpu_pm.c | |
parent | e4c5ef6b9584a861210cf92955b7c8b1727688b9 (diff) | |
download | linux-498cc50b3fa99b545532dc433d53d3c0b889cc98.tar.xz |
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 'drivers/gpu/drm/amd/pm/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions