Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 08a74cbb authored by Daniel Kurtz's avatar Daniel Kurtz Committed by Rafael J. Wysocki
Browse files

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: default avatarDaniel Kurtz <djkurtz@chromium.org>
Acked-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 4495c08e
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -573,7 +573,7 @@ static struct platform_driver mt8173_cpufreq_platdrv = {
	.probe		= mt8173_cpufreq_probe,
	.probe		= mt8173_cpufreq_probe,
};
};


static int mt8173_cpufreq_driver_init(void)
static int __init mt8173_cpufreq_driver_init(void)
{
{
	struct platform_device *pdev;
	struct platform_device *pdev;
	int err;
	int err;