search for: version_attr

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

Did you mean: version_attrs
2012 Feb 17
0
[PATCH] linux-2.6.18/drivers/xen/: constify all instances of "struct attribute_group"
...trs[] NULL }; -static struct attribute_group tapstat_group = { +static const struct attribute_group tapstat_group = { .name = "statistics", .attrs = tapstat_attrs, }; --- a/drivers/xen/core/xen_sysfs.c +++ b/drivers/xen/core/xen_sysfs.c @@ -84,7 +84,7 @@ static struct attribute *version_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_compila...