aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/xen/sys-hypervisor.c6
-rw-r--r--drivers/xen/xen-balloon.c2
-rw-r--r--drivers/xen/xen-selfballoon.c2
3 files changed, 5 insertions, 5 deletions
diff --git a/drivers/xen/sys-hypervisor.c b/drivers/xen/sys-hypervisor.c
index 1e0fe01eb670..fdb6d229c9bb 100644
--- a/drivers/xen/sys-hypervisor.c
+++ b/drivers/xen/sys-hypervisor.c
@@ -97,7 +97,7 @@ static struct attribute *version_attrs[] = {
97 NULL 97 NULL
98}; 98};
99 99
100static struct attribute_group version_group = { 100static const struct attribute_group version_group = {
101 .name = "version", 101 .name = "version",
102 .attrs = version_attrs, 102 .attrs = version_attrs,
103}; 103};
@@ -210,7 +210,7 @@ static struct attribute *xen_compile_attrs[] = {
210 NULL 210 NULL
211}; 211};
212 212
213static struct attribute_group xen_compilation_group = { 213static const struct attribute_group xen_compilation_group = {
214 .name = "compilation", 214 .name = "compilation",
215 .attrs = xen_compile_attrs, 215 .attrs = xen_compile_attrs,
216}; 216};
@@ -340,7 +340,7 @@ static struct attribute *xen_properties_attrs[] = {
340 NULL 340 NULL
341}; 341};
342 342
343static struct attribute_group xen_properties_group = { 343static const struct attribute_group xen_properties_group = {
344 .name = "properties", 344 .name = "properties",
345 .attrs = xen_properties_attrs, 345 .attrs = xen_properties_attrs,
346}; 346};
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[] = {
207 NULL 207 NULL
208}; 208};
209 209
210static struct attribute_group balloon_info_group = { 210static const struct attribute_group balloon_info_group = {
211 .name = "info", 211 .name = "info",
212 .attrs = balloon_info_attrs 212 .attrs = balloon_info_attrs
213}; 213};
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
491static struct attribute_group selfballoon_group = { 491static const struct attribute_group selfballoon_group = {
492 .name = "selfballoon", 492 .name = "selfballoon",
493 .attrs = selfballoon_attrs 493 .attrs = selfballoon_attrs
494}; 494};