@@ -602,27 +602,27 @@ static struct uncore_event_desc snbep_uncore_qpi_events[] = {
602602 { /* end: all zeroes */ },
603603};
604604
605- static struct attribute_group snbep_uncore_format_group = {
605+ static const struct attribute_group snbep_uncore_format_group = {
606606 .name = "format" ,
607607 .attrs = snbep_uncore_formats_attr ,
608608};
609609
610- static struct attribute_group snbep_uncore_ubox_format_group = {
610+ static const struct attribute_group snbep_uncore_ubox_format_group = {
611611 .name = "format" ,
612612 .attrs = snbep_uncore_ubox_formats_attr ,
613613};
614614
615- static struct attribute_group snbep_uncore_cbox_format_group = {
615+ static const struct attribute_group snbep_uncore_cbox_format_group = {
616616 .name = "format" ,
617617 .attrs = snbep_uncore_cbox_formats_attr ,
618618};
619619
620- static struct attribute_group snbep_uncore_pcu_format_group = {
620+ static const struct attribute_group snbep_uncore_pcu_format_group = {
621621 .name = "format" ,
622622 .attrs = snbep_uncore_pcu_formats_attr ,
623623};
624624
625- static struct attribute_group snbep_uncore_qpi_format_group = {
625+ static const struct attribute_group snbep_uncore_qpi_format_group = {
626626 .name = "format" ,
627627 .attrs = snbep_uncore_qpi_formats_attr ,
628628};
@@ -1431,27 +1431,27 @@ static struct attribute *ivbep_uncore_qpi_formats_attr[] = {
14311431 NULL ,
14321432};
14331433
1434- static struct attribute_group ivbep_uncore_format_group = {
1434+ static const struct attribute_group ivbep_uncore_format_group = {
14351435 .name = "format" ,
14361436 .attrs = ivbep_uncore_formats_attr ,
14371437};
14381438
1439- static struct attribute_group ivbep_uncore_ubox_format_group = {
1439+ static const struct attribute_group ivbep_uncore_ubox_format_group = {
14401440 .name = "format" ,
14411441 .attrs = ivbep_uncore_ubox_formats_attr ,
14421442};
14431443
1444- static struct attribute_group ivbep_uncore_cbox_format_group = {
1444+ static const struct attribute_group ivbep_uncore_cbox_format_group = {
14451445 .name = "format" ,
14461446 .attrs = ivbep_uncore_cbox_formats_attr ,
14471447};
14481448
1449- static struct attribute_group ivbep_uncore_pcu_format_group = {
1449+ static const struct attribute_group ivbep_uncore_pcu_format_group = {
14501450 .name = "format" ,
14511451 .attrs = ivbep_uncore_pcu_formats_attr ,
14521452};
14531453
1454- static struct attribute_group ivbep_uncore_qpi_format_group = {
1454+ static const struct attribute_group ivbep_uncore_qpi_format_group = {
14551455 .name = "format" ,
14561456 .attrs = ivbep_uncore_qpi_formats_attr ,
14571457};
@@ -1887,7 +1887,7 @@ static struct attribute *knl_uncore_ubox_formats_attr[] = {
18871887 NULL ,
18881888};
18891889
1890- static struct attribute_group knl_uncore_ubox_format_group = {
1890+ static const struct attribute_group knl_uncore_ubox_format_group = {
18911891 .name = "format" ,
18921892 .attrs = knl_uncore_ubox_formats_attr ,
18931893};
@@ -1927,7 +1927,7 @@ static struct attribute *knl_uncore_cha_formats_attr[] = {
19271927 NULL ,
19281928};
19291929
1930- static struct attribute_group knl_uncore_cha_format_group = {
1930+ static const struct attribute_group knl_uncore_cha_format_group = {
19311931 .name = "format" ,
19321932 .attrs = knl_uncore_cha_formats_attr ,
19331933};
@@ -2037,7 +2037,7 @@ static struct attribute *knl_uncore_pcu_formats_attr[] = {
20372037 NULL ,
20382038};
20392039
2040- static struct attribute_group knl_uncore_pcu_format_group = {
2040+ static const struct attribute_group knl_uncore_pcu_format_group = {
20412041 .name = "format" ,
20422042 .attrs = knl_uncore_pcu_formats_attr ,
20432043};
@@ -2187,7 +2187,7 @@ static struct attribute *knl_uncore_irp_formats_attr[] = {
21872187 NULL ,
21882188};
21892189
2190- static struct attribute_group knl_uncore_irp_format_group = {
2190+ static const struct attribute_group knl_uncore_irp_format_group = {
21912191 .name = "format" ,
21922192 .attrs = knl_uncore_irp_formats_attr ,
21932193};
@@ -2385,7 +2385,7 @@ static struct attribute *hswep_uncore_ubox_formats_attr[] = {
23852385 NULL ,
23862386};
23872387
2388- static struct attribute_group hswep_uncore_ubox_format_group = {
2388+ static const struct attribute_group hswep_uncore_ubox_format_group = {
23892389 .name = "format" ,
23902390 .attrs = hswep_uncore_ubox_formats_attr ,
23912391};
@@ -2439,7 +2439,7 @@ static struct attribute *hswep_uncore_cbox_formats_attr[] = {
24392439 NULL ,
24402440};
24412441
2442- static struct attribute_group hswep_uncore_cbox_format_group = {
2442+ static const struct attribute_group hswep_uncore_cbox_format_group = {
24432443 .name = "format" ,
24442444 .attrs = hswep_uncore_cbox_formats_attr ,
24452445};
@@ -2621,7 +2621,7 @@ static struct attribute *hswep_uncore_sbox_formats_attr[] = {
26212621 NULL ,
26222622};
26232623
2624- static struct attribute_group hswep_uncore_sbox_format_group = {
2624+ static const struct attribute_group hswep_uncore_sbox_format_group = {
26252625 .name = "format" ,
26262626 .attrs = hswep_uncore_sbox_formats_attr ,
26272627};
@@ -3314,7 +3314,7 @@ static struct attribute *skx_uncore_cha_formats_attr[] = {
33143314 NULL ,
33153315};
33163316
3317- static struct attribute_group skx_uncore_chabox_format_group = {
3317+ static const struct attribute_group skx_uncore_chabox_format_group = {
33183318 .name = "format" ,
33193319 .attrs = skx_uncore_cha_formats_attr ,
33203320};
@@ -3427,7 +3427,7 @@ static struct attribute *skx_uncore_iio_formats_attr[] = {
34273427 NULL ,
34283428};
34293429
3430- static struct attribute_group skx_uncore_iio_format_group = {
3430+ static const struct attribute_group skx_uncore_iio_format_group = {
34313431 .name = "format" ,
34323432 .attrs = skx_uncore_iio_formats_attr ,
34333433};
@@ -3484,7 +3484,7 @@ static struct attribute *skx_uncore_formats_attr[] = {
34843484 NULL ,
34853485};
34863486
3487- static struct attribute_group skx_uncore_format_group = {
3487+ static const struct attribute_group skx_uncore_format_group = {
34883488 .name = "format" ,
34893489 .attrs = skx_uncore_formats_attr ,
34903490};
@@ -3605,7 +3605,7 @@ static struct attribute *skx_upi_uncore_formats_attr[] = {
36053605 NULL ,
36063606};
36073607
3608- static struct attribute_group skx_upi_uncore_format_group = {
3608+ static const struct attribute_group skx_upi_uncore_format_group = {
36093609 .name = "format" ,
36103610 .attrs = skx_upi_uncore_formats_attr ,
36113611};
0 commit comments