diff options
Diffstat (limited to 'drivers/xen/sys-hypervisor.c')
-rw-r--r-- | drivers/xen/sys-hypervisor.c | 6 |
1 files changed, 3 insertions, 3 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 | ||
100 | static struct attribute_group version_group = { | 100 | static 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 | ||
213 | static struct attribute_group xen_compilation_group = { | 213 | static 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 | ||
343 | static struct attribute_group xen_properties_group = { | 343 | static 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 | }; |