diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2007-11-01 16:29:06 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-01-25 05:40:15 +0100 |
commit | 881c6cfd7c5edfe6129006e2404654bfe5911050 (patch) | |
tree | cb8fa388d2b7c833d77e6ac4957310844a4e96af /drivers/base/base.h | |
parent | kset: convert drivers/base/firmware.c to use kset_create (diff) | |
download | linux-881c6cfd7c5edfe6129006e2404654bfe5911050.tar.xz linux-881c6cfd7c5edfe6129006e2404654bfe5911050.zip |
kset: convert /sys/devices to use kset_create
Dynamically create the kset instead of declaring it statically. We also
rename devices_subsys to devices_kset to catch all users of the
variable.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/base/base.h')
-rw-r--r-- | drivers/base/base.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/base.h b/drivers/base/base.h index 10b2fb6c9ce6..7e309a49a711 100644 --- a/drivers/base/base.h +++ b/drivers/base/base.h @@ -44,4 +44,4 @@ extern char *make_class_name(const char *name, struct kobject *kobj); extern int devres_release_all(struct device *dev); -extern struct kset devices_subsys; +extern struct kset *devices_kset; |