From 02f88aaaac53929e0cf4fe50f807cdea4b9e224d Mon Sep 17 00:00:00 2001 From: Hridya Valsaraju Date: Tue, 1 Oct 2019 11:21:29 -0700 Subject: [PATCH] ANDROID: GKI: Export symbols arm_cpuidle_suspend, cpuidle_dev and cpuidle_register_governor Exports: arm_cpuidle_suspend cpuidle_dev cpuidle_register_governor Bug: 140652396 Test: build Signed-off-by: Hridya Valsaraju Change-Id: Ia2f90c97763b5c7b047d36ab4c6f2a974fa02ccb (cherry picked from commit 3571655e5e02f13df7006cb9a90f0081a48536b9) Signed-off-by: Will McVicker --- arch/arm64/kernel/cpuidle.c | 1 + drivers/cpuidle/cpuidle.c | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/arm64/kernel/cpuidle.c b/arch/arm64/kernel/cpuidle.c index f2d13810daa8..e77407778a9e 100644 --- a/arch/arm64/kernel/cpuidle.c +++ b/arch/arm64/kernel/cpuidle.c @@ -42,6 +42,7 @@ int arm_cpuidle_suspend(int index) return cpu_ops[cpu]->cpu_suspend(index); } +EXPORT_SYMBOL_GPL(arm_cpuidle_suspend); #ifdef CONFIG_ACPI diff --git a/drivers/cpuidle/cpuidle.c b/drivers/cpuidle/cpuidle.c index 96a3a9bf8b12..afb49ff6a094 100644 --- a/drivers/cpuidle/cpuidle.c +++ b/drivers/cpuidle/cpuidle.c @@ -28,6 +28,7 @@ DEFINE_PER_CPU(struct cpuidle_device *, cpuidle_devices); DEFINE_PER_CPU(struct cpuidle_device, cpuidle_dev); +EXPORT_SYMBOL_GPL(cpuidle_dev); DEFINE_MUTEX(cpuidle_lock); LIST_HEAD(cpuidle_detected_devices);