|
@@ -91,13 +91,11 @@ static struct cpuidle_driver cpuidle_driver = {
|
|
|
|
|
|
int __init sh_mobile_setup_cpuidle(void)
|
|
|
{
|
|
|
- int ret;
|
|
|
-
|
|
|
if (sh_mobile_sleep_supported & SUSP_SH_SF)
|
|
|
cpuidle_driver.states[1].disabled = false;
|
|
|
|
|
|
if (sh_mobile_sleep_supported & SUSP_SH_STANDBY)
|
|
|
cpuidle_driver.states[2].disabled = false;
|
|
|
|
|
|
- return cpuidle_register(&cpuidle_driver);
|
|
|
+ return cpuidle_register(&cpuidle_driver, NULL);
|
|
|
}
|