forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cpufreq: davinci: move configuration to include/linux/platform_data
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 <[email protected]> Acked-by: Sekhar Nori <[email protected]> Signed-off-by: Viresh Kumar <[email protected]>
- Loading branch information
Showing
4 changed files
with
21 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
/* 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 */ |