Displaying 1 result from an estimated 1 matches for "balloon_info_group".
2012 Feb 17
0
[PATCH] linux-2.6.18/drivers/xen/: constify all instances of "struct attribute_group"
...e get passed to have been taking pointers to const
since at least 2.6.16.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
--- a/drivers/xen/balloon/sysfs.c
+++ b/drivers/xen/balloon/sysfs.c
@@ -97,7 +97,7 @@ static struct attribute *balloon_info_at
NULL
};
-static struct attribute_group balloon_info_group = {
+static const struct attribute_group balloon_info_group = {
.name = "info",
.attrs = balloon_info_attrs,
};
--- a/drivers/xen/blkback/xenbus.c
+++ b/drivers/xen/blkback/xenbus.c
@@ -136,7 +136,7 @@ static struct attribute *vbdstat_attrs[]
NULL
};
-static struct attribute_gro...