Revert "Revert "FROMLIST: cpuidle: governor: export cpuidle governor functions""

This reverts commit 4f4ec94fcb.

NOTE: Downstream modular governor is used on Qualcomm Technologies, Inc.
chipsets and this change can not be upstreamed due to lack of consumer of
export symbols in upstream.

Bug: 169136276
Bug: 195914333
Change-Id: I84f0056f5df48fe39b06aab36515347bdb5b023a
Signed-off-by: Maulik Shah <mkshah@codeaurora.org>
---
 drivers/cpuidle/governor.c | 2 ++
This commit is contained in:
Maulik Shah
2021-08-13 12:47:10 +05:30
committed by Todd Kjos
parent 9061aa223d
commit 2dac7f9ea8

View File

@@ -102,6 +102,7 @@ int cpuidle_register_governor(struct cpuidle_governor *gov)
return ret;
}
EXPORT_SYMBOL_GPL(cpuidle_register_governor);
/**
* cpuidle_governor_latency_req - Compute a latency constraint for CPU
@@ -118,3 +119,4 @@ s64 cpuidle_governor_latency_req(unsigned int cpu)
return (s64)device_req * NSEC_PER_USEC;
}
EXPORT_SYMBOL_GPL(cpuidle_governor_latency_req);