Commit 5781532e authored by Andre Przywara's avatar Andre Przywara Committed by Daniel Lezcano

ARM/cpuidle: remove __init tag from Calxeda cpuidle probe function

Commit 60a66e37 changed the Calxeda
cpuidle driver to a platform driver, copying the __init tag from the
_init() to the newly used _probe() function. However, "probe should
not be __init." (Rob said ;-)
Remove the __init tag to fix a section mismatch in the Calxeda
cpuidle driver.
Signed-off-by: default avatarAndre Przywara <andre.przywara@linaro.org>
Signed-off-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
parent 802eee95
...@@ -65,7 +65,7 @@ static struct cpuidle_driver calxeda_idle_driver = { ...@@ -65,7 +65,7 @@ static struct cpuidle_driver calxeda_idle_driver = {
.state_count = 2, .state_count = 2,
}; };
static int __init calxeda_cpuidle_probe(struct platform_device *pdev) static int calxeda_cpuidle_probe(struct platform_device *pdev)
{ {
return cpuidle_register(&calxeda_idle_driver, NULL); return cpuidle_register(&calxeda_idle_driver, NULL);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment