cpufreq: davinci: move configuration to include/linux/platform_data
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Thu, 14 Feb 2019 17:05:05 +0000 (18:05 +0100)
committerViresh Kumar <viresh.kumar@linaro.org>
Mon, 18 Feb 2019 06:28:08 +0000 (11:58 +0530)
commit40b46b3b2f098e3740f65024099a7c55ff4b9866
tree5fa41858ded9b6a994d647c1d881f7cdff88c8b1
parentd6c8e086e9d98a591a6b515078cb0e05fb538b5c
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 <bgolaszewski@baylibre.com>
Acked-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
arch/arm/mach-davinci/da850.c
arch/arm/mach-davinci/include/mach/cpufreq.h [deleted file]
drivers/cpufreq/davinci-cpufreq.c
include/linux/platform_data/davinci-cpufreq.h [new file with mode: 0644]