search for: decl_subsys

Displaying 1 result from an estimated 1 matches for "decl_subsys".

2007 Jun 20
0
[PATCH] linux-2.6.18: utilize SYS_HYPERVISOR config option
...============== --- head-2007-05-31.orig/drivers/xen/core/hypervisor_sysfs.c 2007-06-06 17:04:59.000000000 +0200 +++ head-2007-05-31/drivers/xen/core/hypervisor_sysfs.c 2007-06-04 13:57:46.000000000 +0200 @@ -12,8 +12,6 @@ #include <linux/kobject.h> #include <xen/hypervisor_sysfs.h> -decl_subsys(hypervisor, NULL, NULL); - static ssize_t hyp_sysfs_show(struct kobject *kobj, struct attribute *attr, char *buffer) @@ -37,7 +35,7 @@ static ssize_t hyp_sysfs_store(struct ko return 0; } -struct sysfs_ops hyp_sysfs_ops = { +static struct sysfs_ops hyp_sysfs_ops = { .sho...