mirror of https://gitee.com/openkylin/linux.git
cpuidle: Add missing forward declarations of structures
Add missing forward declarations of struct cpuidle_state_kobj and struct cpuidle_driver_kobj in cpuidle.h. [rjw: Changelog] Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
parent
728ce22b69
commit
1a7064380e
|
@ -60,6 +60,8 @@ struct cpuidle_state {
|
|||
#define CPUIDLE_DRIVER_FLAGS_MASK (0xFFFF0000)
|
||||
|
||||
struct cpuidle_device_kobj;
|
||||
struct cpuidle_state_kobj;
|
||||
struct cpuidle_driver_kobj;
|
||||
|
||||
struct cpuidle_device {
|
||||
unsigned int registered:1;
|
||||
|
|
Loading…
Reference in New Issue