summaryrefstree
path: root/kernel/include/linux/exynos-cpufreq.h
blob: bc489243a8a6df48e2f4808ae94f9248648e2606 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
 * Copyright (c) 2016 Park Bumgyu, Samsung Electronics Co., Ltd <bumgyu.park@samsung.com>
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 *
 * General Exynos cpufreq driver implementation
 */

#ifdef CONFIG_ARM_EXYNOS_ACME
extern unsigned int exynos_cpufreq_get_max_freq(struct cpumask *mask);
extern void exynos_cpufreq_reset_boot_qos(void);
#else
static inline unsigned int exynos_cpufreq_get_max_freq(struct cpumask *mask)
{
	return 0;
}
static inline void exynos_cpufreq_reset_boot_qos(void) {}
#endif