提交 08a74cbb 编写于 作者: D Daniel Kurtz 提交者: Rafael J. Wysocki

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: NDaniel Kurtz <djkurtz@chromium.org>
Acked-by: NViresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
上级 4495c08e
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册