summaryrefslogtreecommitdiffstats
path: root/drivers/block
diff options
context:
space:
mode:
authorJan Beulich <JBeulich@suse.com>2016-07-07 01:38:58 -0600
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2016-07-22 08:23:52 -0400
commit530439484d2d9f2a7f1038b1afd3d3543ecc63f6 (patch)
tree85922300a8f544ff9367907cec391e6c6c5d4ae9 /drivers/block
parentff595325ed556fb4b83af5b9ffd5c427c18405d7 (diff)
downloadlinux-stable-530439484d2d9f2a7f1038b1afd3d3543ecc63f6.tar.gz
linux-stable-530439484d2d9f2a7f1038b1afd3d3543ecc63f6.tar.bz2
linux-stable-530439484d2d9f2a7f1038b1afd3d3543ecc63f6.zip
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>
Diffstat (limited to 'drivers/block')
-rw-r--r--drivers/block/xen-blkback/xenbus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/xen-blkback/xenbus.c b/drivers/block/xen-blkback/xenbus.c
index bf09ffe5d460..b44eaf40bb29 100644
--- a/drivers/block/xen-blkback/xenbus.c
+++ b/drivers/block/xen-blkback/xenbus.c
@@ -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,
};