search for: tapstat_group

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

2012 Feb 17
0
[PATCH] linux-2.6.18/drivers/xen/: constify all instances of "struct attribute_group"
...oup = { +static const struct attribute_group vbdstat_group = { .name = "statistics", .attrs = vbdstat_attrs, }; --- a/drivers/xen/blktap/xenbus.c +++ b/drivers/xen/blktap/xenbus.c @@ -152,7 +152,7 @@ static struct attribute *tapstat_attrs[] 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 ver...