search for: hyp_sysfs_store

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

2007 Jun 20
0
[PATCH] linux-2.6.18: utilize SYS_HYPERVISOR config option
...7: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 = { .show = hyp_sysfs_show, .store = hyp_sysfs_store, }; @@ -52,8 +50,7 @@ static int __init hypervisor_subsys_init return -ENODEV; hypervisor_subsys.kset.kobj.ktype = &hyp_sysfs_ko...