summaryrefslogtreecommitdiffstats
path: root/drivers/cpuidle
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@linaro.org>2013-12-13 21:49:19 +0100
committerDaniel Lezcano <daniel.lezcano@linaro.org>2013-12-30 11:55:20 +0100
commit5781532ebecd9e0b7b5fc25d78030bdec635f4ac (patch)
tree39d894f4e06b068144b7f26f2c01eca5df72850e /drivers/cpuidle
parent802eee95bde72fd0cd0f3a5b2098375a487d1eda (diff)
downloadlinux-5781532ebecd9e0b7b5fc25d78030bdec635f4ac.tar.gz
linux-5781532ebecd9e0b7b5fc25d78030bdec635f4ac.tar.bz2
linux-5781532ebecd9e0b7b5fc25d78030bdec635f4ac.zip
ARM/cpuidle: remove __init tag from Calxeda cpuidle probe function
Commit 60a66e370007e8535b7a561353b07b37deaf35ba 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: Andre Przywara <andre.przywara@linaro.org> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'drivers/cpuidle')
-rw-r--r--drivers/cpuidle/cpuidle-calxeda.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cpuidle/cpuidle-calxeda.c b/drivers/cpuidle/cpuidle-calxeda.c
index 36795639df0d..6e51114057d0 100644
--- a/drivers/cpuidle/cpuidle-calxeda.c
+++ b/drivers/cpuidle/cpuidle-calxeda.c
@@ -65,7 +65,7 @@ static struct cpuidle_driver calxeda_idle_driver = {
.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);
}