xen-blkback: constify instance of "struct attribute_group"
authorJan Beulich <[email protected]>
Thu, 7 Jul 2016 07:38:58 +0000 (01:38 -0600)
committerKonrad Rzeszutek Wilk <[email protected]>
Fri, 22 Jul 2016 12:23:52 +0000 (08:23 -0400)
The functions these get passed to have been taking pointers to const
since at least 2.6.16.

Acked-by: Jens Axboe <[email protected]>
Acked-by: Roger Pau MonnĂ© <[email protected]>
Signed-off-by: Jan Beulich <[email protected]>
Signed-off-by: Konrad Rzeszutek Wilk <[email protected]>
drivers/block/xen-blkback/xenbus.c

index bf09ffe5d460a493c4fb53e1fba0da5a698b0e37..b44eaf40bb2993fd76909948e846bd583e002d18 100644 (file)
@@ -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,
 };