cpuidle / sysfs: move structure declaration into the sysfs.c file
[deliverable/linux.git] / drivers / cpuidle / sysfs.c
index ed87399bb02b0101b32cd1d9ae5cf2c34282f189..f15c1e56e16ff81ba6e7387ed87f501d54e03d18 100644 (file)
@@ -297,6 +297,13 @@ static struct attribute *cpuidle_state_default_attrs[] = {
        NULL
 };
 
+struct cpuidle_state_kobj {
+       struct cpuidle_state *state;
+       struct cpuidle_state_usage *state_usage;
+       struct completion kobj_unregister;
+       struct kobject kobj;
+};
+
 #define kobj_to_state_obj(k) container_of(k, struct cpuidle_state_kobj, kobj)
 #define kobj_to_state(k) (kobj_to_state_obj(k)->state)
 #define kobj_to_state_usage(k) (kobj_to_state_obj(k)->state_usage)
This page took 0.025045 seconds and 5 git commands to generate.