aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/base/power/sysfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/base/power/sysfs.c')
-rw-r--r--drivers/base/power/sysfs.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/base/power/sysfs.c b/drivers/base/power/sysfs.c
index 33b4b902741a..185a52581cfa 100644
--- a/drivers/base/power/sysfs.c
+++ b/drivers/base/power/sysfs.c
@@ -607,7 +607,7 @@ static struct attribute *power_attrs[] = {
607#endif /* CONFIG_PM_ADVANCED_DEBUG */ 607#endif /* CONFIG_PM_ADVANCED_DEBUG */
608 NULL, 608 NULL,
609}; 609};
610static struct attribute_group pm_attr_group = { 610static const struct attribute_group pm_attr_group = {
611 .name = power_group_name, 611 .name = power_group_name,
612 .attrs = power_attrs, 612 .attrs = power_attrs,
613}; 613};
@@ -629,7 +629,7 @@ static struct attribute *wakeup_attrs[] = {
629#endif 629#endif
630 NULL, 630 NULL,
631}; 631};
632static struct attribute_group pm_wakeup_attr_group = { 632static const struct attribute_group pm_wakeup_attr_group = {
633 .name = power_group_name, 633 .name = power_group_name,
634 .attrs = wakeup_attrs, 634 .attrs = wakeup_attrs,
635}; 635};
@@ -644,7 +644,7 @@ static struct attribute *runtime_attrs[] = {
644 &dev_attr_autosuspend_delay_ms.attr, 644 &dev_attr_autosuspend_delay_ms.attr,
645 NULL, 645 NULL,
646}; 646};
647static struct attribute_group pm_runtime_attr_group = { 647static const struct attribute_group pm_runtime_attr_group = {
648 .name = power_group_name, 648 .name = power_group_name,
649 .attrs = runtime_attrs, 649 .attrs = runtime_attrs,
650}; 650};
@@ -653,7 +653,7 @@ static struct attribute *pm_qos_resume_latency_attrs[] = {
653 &dev_attr_pm_qos_resume_latency_us.attr, 653 &dev_attr_pm_qos_resume_latency_us.attr,
654 NULL, 654 NULL,
655}; 655};
656static struct attribute_group pm_qos_resume_latency_attr_group = { 656static const struct attribute_group pm_qos_resume_latency_attr_group = {
657 .name = power_group_name, 657 .name = power_group_name,
658 .attrs = pm_qos_resume_latency_attrs, 658 .attrs = pm_qos_resume_latency_attrs,
659}; 659};
@@ -662,7 +662,7 @@ static struct attribute *pm_qos_latency_tolerance_attrs[] = {
662 &dev_attr_pm_qos_latency_tolerance_us.attr, 662 &dev_attr_pm_qos_latency_tolerance_us.attr,
663 NULL, 663 NULL,
664}; 664};
665static struct attribute_group pm_qos_latency_tolerance_attr_group = { 665static const struct attribute_group pm_qos_latency_tolerance_attr_group = {
666 .name = power_group_name, 666 .name = power_group_name,
667 .attrs = pm_qos_latency_tolerance_attrs, 667 .attrs = pm_qos_latency_tolerance_attrs,
668}; 668};
@@ -672,7 +672,7 @@ static struct attribute *pm_qos_flags_attrs[] = {
672 &dev_attr_pm_qos_remote_wakeup.attr, 672 &dev_attr_pm_qos_remote_wakeup.attr,
673 NULL, 673 NULL,
674}; 674};
675static struct attribute_group pm_qos_flags_attr_group = { 675static const struct attribute_group pm_qos_flags_attr_group = {
676 .name = power_group_name, 676 .name = power_group_name,
677 .attrs = pm_qos_flags_attrs, 677 .attrs = pm_qos_flags_attrs,
678}; 678};