From ead1d01425bbd28c4354b539caa4075bde00ed72 Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Wed, 14 Mar 2012 12:34:19 -0400 Subject: xen: constify all instances of "struct attribute_group" The functions these get passed to have been taking pointers to const since at least 2.6.16. Signed-off-by: Jan Beulich Signed-off-by: Konrad Rzeszutek Wilk --- drivers/xen/xen-balloon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/xen/xen-balloon.c') diff --git a/drivers/xen/xen-balloon.c b/drivers/xen/xen-balloon.c index 3832e303c33a..3f7922ec13e3 100644 --- a/drivers/xen/xen-balloon.c +++ b/drivers/xen/xen-balloon.c @@ -207,7 +207,7 @@ static struct attribute *balloon_info_attrs[] = { NULL }; -static struct attribute_group balloon_info_group = { +static const struct attribute_group balloon_info_group = { .name = "info", .attrs = balloon_info_attrs }; -- cgit v1.2.3