xen-blkback: constify instance of "struct attribute_group"
The functions these get passed to have been taking pointers to const since at least 2.6.16. Acked-by: Jens Axboe <axboe@kernel.dk> Acked-by: Roger Pau Monné <roger.pau@citrix.com> Signed-off-by: Jan Beulich <jbeulich@suse.com> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
This commit is contained in:
parent
ff595325ed
commit
530439484d
1 changed files with 1 additions and 1 deletions
|
@ -379,7 +379,7 @@ static struct attribute *xen_vbdstat_attrs[] = {
|
|||
NULL
|
||||
};
|
||||
|
||||
static struct attribute_group xen_vbdstat_group = {
|
||||
static const struct attribute_group xen_vbdstat_group = {
|
||||
.name = "statistics",
|
||||
.attrs = xen_vbdstat_attrs,
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue