Commit 10052f2a authored by Daniel Lezcano's avatar Daniel Lezcano Committed by Angus Ainslie (Purism)

cpuidle/drivers/cpuidle-arm: Register the cooling device

Register the ARM generic cpuidle driver as a cooling device.
Signed-off-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
parent dcdd1583
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
#define pr_fmt(fmt) "CPUidle arm: " fmt #define pr_fmt(fmt) "CPUidle arm: " fmt
#include <linux/cpu_cooling.h>
#include <linux/cpuidle.h> #include <linux/cpuidle.h>
#include <linux/cpumask.h> #include <linux/cpumask.h>
#include <linux/cpu_pm.h> #include <linux/cpu_pm.h>
...@@ -145,6 +146,8 @@ static int __init arm_idle_init(void) ...@@ -145,6 +146,8 @@ static int __init arm_idle_init(void)
goto out_fail; goto out_fail;
} }
cpuidle_cooling_register();
return 0; return 0;
out_fail: out_fail:
......
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