summaryrefslogtreecommitdiffstats
path: root/utils.h
diff options
context:
space:
mode:
authorZhao Wei Liew <zhaoweiliew@gmail.com>2016-07-19 19:57:06 +0800
committerMichael Bestas <mkbestas@lineageos.org>2019-10-23 01:12:56 +0300
commit71131ea4e0f0a05a51443571970e4f74cb14de65 (patch)
tree5956a90ba3cd005f4c6a82e8a354cbb435dbb370 /utils.h
parentb989cae4900c6647bd5fddfd9930c01e999025ea (diff)
downloadvendor_qcom_opensource_power-71131ea4e0f0a05a51443571970e4f74cb14de65.tar.gz
vendor_qcom_opensource_power-71131ea4e0f0a05a51443571970e4f74cb14de65.tar.bz2
vendor_qcom_opensource_power-71131ea4e0f0a05a51443571970e4f74cb14de65.zip
power: Simplify soc_id checks
- Get soc_id in a common util function - Return boolean values for the target-specific soc_id checks Change-Id: I038c435d28855859f36566de7acf881037d070f2
Diffstat (limited to 'utils.h')
-rw-r--r--utils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils.h b/utils.h
index ef22b7c..2d45e72 100644
--- a/utils.h
+++ b/utils.h
@@ -43,3 +43,5 @@ void release_request(int lock_handle);
void interaction(int duration, int num_args, int opt_list[]);
int interaction_with_handle(int lock_handle, int duration, int num_args, int opt_list[]);
int perf_hint_enable(int hint_id, int duration);
+
+int get_soc_id(void);