summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Kurtz <djkurtz@chromium.org>2017-03-02 14:08:58 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2017-03-13 01:10:53 +0300
commit08a74cbb1ba337fca6add5674506440c044b2c03 (patch)
treebc44f33f4c109032cd28acbba32292c406cb69d9
parent4495c08e84729385774601b5146d51d9e5849f81 (diff)
downloadlinux-08a74cbb1ba337fca6add5674506440c044b2c03.tar.xz
cpufreq: mt8173: Mark mt8173_cpufreq_driver_init as __init
This function is only called once at boot by device_initcall(), so mark it as __init. Signed-off-by: Daniel Kurtz <djkurtz@chromium.org> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
-rw-r--r--drivers/cpufreq/mt8173-cpufreq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cpufreq/mt8173-cpufreq.c b/drivers/cpufreq/mt8173-cpufreq.c
index ab25b1235a5e..72bc1192bd30 100644
--- a/drivers/cpufreq/mt8173-cpufreq.c
+++ b/drivers/cpufreq/mt8173-cpufreq.c
@@ -573,7 +573,7 @@ static struct platform_driver mt8173_cpufreq_platdrv = {
.probe = mt8173_cpufreq_probe,
};
-static int mt8173_cpufreq_driver_init(void)
+static int __init mt8173_cpufreq_driver_init(void)
{
struct platform_device *pdev;
int err;