diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2007-11-27 14:28:26 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-01-24 23:40:25 -0500 |
commit | d76e15fb20eeb7632ef38876a884fe3508b2c01d (patch) | |
tree | 5f3d63e70d8ac2365ee0c3f6b0489c8377ec1cd0 /include | |
parent | 37b0c020343080241984d978981d6caf877b278a (diff) |
driver core: make /sys/power a kobject
/sys/power should not be a kset, that's overkill. This patch renames it
to power_kset and fixes up all usages of it in the tree.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/kobject.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/kobject.h b/include/linux/kobject.h index 78c851b4e67e..bb6868475edb 100644 --- a/include/linux/kobject.h +++ b/include/linux/kobject.h | |||
@@ -202,8 +202,8 @@ extern struct kobject * kset_find_obj(struct kset *, const char *); | |||
202 | extern struct kobject *kernel_kobj; | 202 | extern struct kobject *kernel_kobj; |
203 | /* The global /sys/hypervisor/ kobject for people to chain off of */ | 203 | /* The global /sys/hypervisor/ kobject for people to chain off of */ |
204 | extern struct kobject *hypervisor_kobj; | 204 | extern struct kobject *hypervisor_kobj; |
205 | /* The global /sys/power/ kset for people to chain off of */ | 205 | /* The global /sys/power/ kobject for people to chain off of */ |
206 | extern struct kset *power_kset; | 206 | extern struct kobject *power_kobj; |
207 | /* The global /sys/firmware/ kobject for people to chain off of */ | 207 | /* The global /sys/firmware/ kobject for people to chain off of */ |
208 | extern struct kobject *firmware_kobj; | 208 | extern struct kobject *firmware_kobj; |
209 | 209 | ||