summaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq/ti-cpufreq.c
diff options
context:
space:
mode:
authorXiu Jianfeng <xiujianfeng@huawei.com>2022-09-24 17:21:59 +0800
committerViresh Kumar <viresh.kumar@linaro.org>2022-09-26 11:15:04 +0530
commitf7968c22bd427f98bacccc44f11523ba6b498e7d (patch)
tree671af07d1abb683dbb507bc346d9a2afe27a8a97 /drivers/cpufreq/ti-cpufreq.c
parentf991b117120569838676b9512f6e7d755fdfc12b (diff)
downloadlinux-stable-f7968c22bd427f98bacccc44f11523ba6b498e7d.tar.gz
linux-stable-f7968c22bd427f98bacccc44f11523ba6b498e7d.tar.bz2
linux-stable-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/ti-cpufreq.c')
-rw-r--r--drivers/cpufreq/ti-cpufreq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cpufreq/ti-cpufreq.c b/drivers/cpufreq/ti-cpufreq.c
index df85a77d476b..f64180dd2005 100644
--- a/drivers/cpufreq/ti-cpufreq.c
+++ b/drivers/cpufreq/ti-cpufreq.c
@@ -398,7 +398,7 @@ fail_put_node:
return ret;
}
-static int ti_cpufreq_init(void)
+static int __init ti_cpufreq_init(void)
{
const struct of_device_id *match;