The forward declaration for the cpuidle_state_kobj and the cpuidle_driver_kobj structures are missing. Let's add them.
Signed-off-by: Daniel Lezcano daniel.lezcano@linaro.org --- include/linux/cpuidle.h | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/include/linux/cpuidle.h b/include/linux/cpuidle.h index b922db5..781addc 100644 --- a/include/linux/cpuidle.h +++ b/include/linux/cpuidle.h @@ -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;