diff options
author | Jan Beulich <JBeulich@suse.com> | 2012-03-14 12:34:19 -0400 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2012-03-14 12:34:19 -0400 |
commit | ead1d01425bbd28c4354b539caa4075bde00ed72 (patch) | |
tree | a74187ed30691cc95455de39d3c3457ab4ccd37c /drivers/xen/xen-selfballoon.c | |
parent | 42c46e6ba5461fcab289bf4a1b7160f94c10aa28 (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/xen/xen-selfballoon.c b/drivers/xen/xen-selfballoon.c index 767ff656d5a7..146c94897016 100644 --- a/drivers/xen/xen-selfballoon.c +++ b/drivers/xen/xen-selfballoon.c | |||
@@ -488,7 +488,7 @@ static struct attribute *selfballoon_attrs[] = { | |||
488 | NULL | 488 | NULL |
489 | }; | 489 | }; |
490 | 490 | ||
491 | static struct attribute_group selfballoon_group = { | 491 | static const struct attribute_group selfballoon_group = { |
492 | .name = "selfballoon", | 492 | .name = "selfballoon", |
493 | .attrs = selfballoon_attrs | 493 | .attrs = selfballoon_attrs |
494 | }; | 494 | }; |