mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-26 22:24:09 +08:00
40b46b3b2f
The header containing the configuration structure for davinci cpufreq driver lives in mach-davinci/include/mach/. This is fine for now but if we want to make davinci part of the multi_v5 build, no code external to mach-davinci should include machine-specific headers. Move the configuration structure to include/linux/platform_data. While we're at it: convert the GPL-2.0 boilerplate to a proper SPDX license identifier. Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com> Acked-by: Sekhar Nori <nsekhar@ti.com> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
20 lines
427 B
C
20 lines
427 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* TI DaVinci CPUFreq platform support.
|
|
*
|
|
* Copyright (C) 2009 Texas Instruments, Inc. http://www.ti.com/
|
|
*/
|
|
|
|
#ifndef _MACH_DAVINCI_CPUFREQ_H
|
|
#define _MACH_DAVINCI_CPUFREQ_H
|
|
|
|
#include <linux/cpufreq.h>
|
|
|
|
struct davinci_cpufreq_config {
|
|
struct cpufreq_frequency_table *freq_table;
|
|
int (*set_voltage)(unsigned int index);
|
|
int (*init)(void);
|
|
};
|
|
|
|
#endif /* _MACH_DAVINCI_CPUFREQ_H */
|