diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2007-11-01 09:29:06 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-01-24 20:40:15 -0800 |
commit | 2d72fc00a1fb055e6127ccd30cac3f0eafaa98d0 (patch) | |
tree | 2a6850d91f28f1adf9223d14fc3bdee8f793b3e3 /arch/s390/hypfs | |
parent | 881c6cfd7c5edfe6129006e2404654bfe5911050 (diff) | |
download | linux-2d72fc00a1fb055e6127ccd30cac3f0eafaa98d0.tar.gz linux-2d72fc00a1fb055e6127ccd30cac3f0eafaa98d0.tar.bz2 linux-2d72fc00a1fb055e6127ccd30cac3f0eafaa98d0.zip |
kobject: convert /sys/hypervisor to use kobject_create
We don't need a kset here, a simple kobject will do just fine, so
dynamically create the kobject and use it.
We also rename hypervisor_subsys to hypervisor_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 'arch/s390/hypfs')
-rw-r--r-- | arch/s390/hypfs/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/hypfs/inode.c b/arch/s390/hypfs/inode.c index c022ccc04d41..b0ad479e7487 100644 --- a/arch/s390/hypfs/inode.c +++ b/arch/s390/hypfs/inode.c @@ -506,7 +506,7 @@ static int __init hypfs_init(void) goto fail_diag; } } - s390_subsys.kobj.kset = &hypervisor_subsys; + s390_subsys.kobj.parent = hypervisor_kobj; rc = subsystem_register(&s390_subsys); if (rc) goto fail_sysfs; |