diff options
author | Xiu Jianfeng <xiujianfeng@huawei.com> | 2022-09-24 11:21:59 +0200 |
---|---|---|
committer | Viresh Kumar <viresh.kumar@linaro.org> | 2022-09-26 07:45:04 +0200 |
commit | f7968c22bd427f98bacccc44f11523ba6b498e7d (patch) | |
tree | 671af07d1abb683dbb507bc346d9a2afe27a8a97 /drivers/cpufreq/highbank-cpufreq.c | |
parent | cpufreq: tegra194: change tegra239_cpufreq_soc to static (diff) | |
download | linux-f7968c22bd427f98bacccc44f11523ba6b498e7d.tar.xz linux-f7968c22bd427f98bacccc44f11523ba6b498e7d.zip |
cpufreq: Add __init annotation to module init funcs
Add missing __init annotation to module init funcs.
Signed-off-by: Xiu Jianfeng <xiujianfeng@huawei.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'drivers/cpufreq/highbank-cpufreq.c')
-rw-r--r-- | drivers/cpufreq/highbank-cpufreq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cpufreq/highbank-cpufreq.c b/drivers/cpufreq/highbank-cpufreq.c index ac57cddc5f2f..a45864701143 100644 --- a/drivers/cpufreq/highbank-cpufreq.c +++ b/drivers/cpufreq/highbank-cpufreq.c @@ -55,7 +55,7 @@ static struct notifier_block hb_cpufreq_clk_nb = { .notifier_call = hb_cpufreq_clk_notify, }; -static int hb_cpufreq_driver_init(void) +static int __init hb_cpufreq_driver_init(void) { struct platform_device_info devinfo = { .name = "cpufreq-dt", }; struct device *cpu_dev; |