aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/idle
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/idle')
-rw-r--r--drivers/idle/intel_idle.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/idle/intel_idle.c b/drivers/idle/intel_idle.c
index 94a652625ae2..21d387132dbc 100644
--- a/drivers/idle/intel_idle.c
+++ b/drivers/idle/intel_idle.c
@@ -404,6 +404,10 @@ static int __init intel_idle_init(void)
404{ 404{
405 int retval; 405 int retval;
406 406
407 /* Do not load intel_idle at all for now if idle= is passed */
408 if (boot_option_idle_override != IDLE_NO_OVERRIDE)
409 return -ENODEV;
410
407 retval = intel_idle_probe(); 411 retval = intel_idle_probe();
408 if (retval) 412 if (retval)
409 return retval; 413 return retval;