[5/8] cpuidle: Add missing forward declaration

Message ID 1371042535-22630-5-git-send-email-daniel.lezcano@linaro.org
State Accepted
Commit 1a7064380e6639e1cc5ed609ceb1ed46f3f188e3
Headers show

Commit Message

Daniel Lezcano June 12, 2013, 1:08 p.m.
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(+)

Patch

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;