aboutsummaryrefslogtreecommitdiff
path: root/drivers/xen/xen-selfballoon.c
diff options
context:
space:
mode:
authorJan Beulich <JBeulich@suse.com>2012-03-14 12:34:19 -0400
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2012-03-14 12:34:19 -0400
commitead1d01425bbd28c4354b539caa4075bde00ed72 (patch)
treea74187ed30691cc95455de39d3c3457ab4ccd37c /drivers/xen/xen-selfballoon.c
parent42c46e6ba5461fcab289bf4a1b7160f94c10aa28 (diff)
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 <jbeulich@suse.com> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'drivers/xen/xen-selfballoon.c')
-rw-r--r--drivers/xen/xen-selfballoon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/xen/xen-selfballoon.c b/drivers/xen/xen-selfballoon.c
index 767ff656d5a..146c9489701 100644
--- a/drivers/xen/xen-selfballoon.c
+++ b/drivers/xen/xen-selfballoon.c
@@ -488,7 +488,7 @@ static struct attribute *selfballoon_attrs[] = {
NULL
};
-static struct attribute_group selfballoon_group = {
+static const struct attribute_group selfballoon_group = {
.name = "selfballoon",
.attrs = selfballoon_attrs
};