diff options
author | Will Song <jinpengsong@google.com> | 2024-01-12 14:04:53 -0800 |
---|---|---|
committer | Will Song <jinpengsong@google.com> | 2024-03-04 19:09:06 +0000 |
commit | 72e0de316c0f37f1d585b5b093d1665ad49de83f (patch) | |
tree | 95867e1e93ab549e9fd877a39ad2d2d9da6f6917 | |
parent | 004df3b16589abb6c9faf61f4626244b2004338a (diff) | |
download | gs-72e0de316c0f37f1d585b5b093d1665ad49de83f.tar.gz |
drivers: devfreq: governor_memlat Fix NOP branch.
Fix syntax and rebalance braces of Config
guard's NOP branch for legacy driver.
Bug: 325274590
Bug: 262894231
Test: Build
Change-Id: I5f51aa9b9bf1c1417e24aded61f3db875454d81d
Signed-off-by: Will Song <jinpengsong@google.com>
-rw-r--r-- | drivers/devfreq/google/governor_memlat.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/drivers/devfreq/google/governor_memlat.h b/drivers/devfreq/google/governor_memlat.h index 514d8f42b..8156872bf 100644 --- a/drivers/devfreq/google/governor_memlat.h +++ b/drivers/devfreq/google/governor_memlat.h @@ -130,27 +130,28 @@ static inline int update_memlat(struct memlat_hwmon *hw) { return 0; } -static int exynos_devfreq_get_boundary(unsigned int devfreq_type, +static inline int exynos_devfreq_get_boundary(unsigned int devfreq_type, unsigned int *max_freq, unsigned int *min_freq) { return 0; } -static struct device **get_memlat_dev_array(void) +static inline struct device **get_memlat_dev_array(void) { return NULL; } -static struct exynos_pm_qos_request **get_memlat_cpu_qos_array(void) +static inline struct exynos_pm_qos_request **get_memlat_cpu_qos_array(void) { return NULL; } -static int *get_memlat_cpuidle_state_aware(void) +static inline int *get_memlat_cpuidle_state_aware(void) { return NULL; } -static int get_cpu_idle_state(unsigned int cpu) +static inline int get_cpu_idle_state(unsigned int cpu) { return 0; -static void set_arm_mon_probe_done(bool) +} +static inline void set_arm_mon_probe_done(bool b) { return; } |