mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-11 15:14:03 +08:00
7e67e239a4
cpufreq-dt.h uses 'bool' data type but doesn't include types.h. It works fine for now as the files that include cpufreq-dt.h, also include types.h directly or indirectly. But, when a file includes cpufreq-dt.h without including types.h, we get a build error. Avoid such errors by including types.h in cpufreq-dt itself. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
25 lines
595 B
C
25 lines
595 B
C
/*
|
|
* Copyright (C) 2014 Marvell
|
|
* Thomas Petazzoni <thomas.petazzoni@free-electrons.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.
|
|
*/
|
|
|
|
#ifndef __CPUFREQ_DT_H__
|
|
#define __CPUFREQ_DT_H__
|
|
|
|
#include <linux/types.h>
|
|
|
|
struct cpufreq_dt_platform_data {
|
|
/*
|
|
* True when each CPU has its own clock to control its
|
|
* frequency, false when all CPUs are controlled by a single
|
|
* clock.
|
|
*/
|
|
bool independent_clocks;
|
|
};
|
|
|
|
#endif /* __CPUFREQ_DT_H__ */
|