summaryrefstree
path: root/kernel/include/linux/exynos-cpufreq.h
blob: be431e743cc4454c742ec1355a4d4b48732d0477 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*
 * 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 bool exynos_cpufreq_allow_change_max(unsigned int cpu, unsigned long max);
#else
static inline unsigned int exynos_cpufreq_get_max_freq(struct cpumask *mask)
{
	return 0;
}
static inline bool exynos_cpufreq_allow_change_max(unsigned int cpu, unsigned long max)
{
	return 0;
}
#endif