Commit b67786c6 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 6e8fe3aa
......@@ -8,6 +8,7 @@
#define pr_fmt(fmt) "CPUidle arm: " fmt
#include <linux/cpu_cooling.h>
#include <linux/cpuidle.h>
#include <linux/cpumask.h>
#include <linux/cpu_pm.h>
......@@ -145,6 +146,8 @@ static int __init arm_idle_init(void)
goto out_fail;
}
cpuidle_cooling_register();
return 0;
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