Displaying 1 result from an estimated 1 matches for "xen_compilation_group".
2012 Feb 17
0
[PATCH] linux-2.6.18/drivers/xen/: constify all instances of "struct attribute_group"
...ersion_attrs[]
NULL
};
-static struct attribute_group version_group = {
+static const struct attribute_group version_group = {
.name = "version",
.attrs = version_attrs,
};
@@ -197,12 +197,12 @@ static struct attribute *xen_compile_att
NULL
};
-static struct attribute_group xen_compilation_group = {
+static const struct attribute_group xen_compilation_group = {
.name = "compilation",
.attrs = xen_compile_attrs,
};
-int __init static xen_compilation_init(void)
+static int __init xen_compilation_init(void)
{
return sysfs_create_group(&hypervisor_subsys.kset.kobj,...