Skip to content

Commit

Permalink
cpufreq: mt8173: Mark mt8173_cpufreq_driver_init as __init
Browse files Browse the repository at this point in the history
This function is only called once at boot by device_initcall(), so mark
it as __init.

Signed-off-by: Daniel Kurtz <[email protected]>
Acked-by: Viresh Kumar <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
  • Loading branch information
djkurtz authored and rafaeljw committed Mar 12, 2017
1 parent 4495c08 commit 08a74cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/cpufreq/mt8173-cpufreq.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 08a74cb

Please sign in to comment.