perf/hisi: Constify static attribute_group structs
authorRikard Falkeborn <rikard.falkeborn@gmail.com>
Sat, 5 Jun 2021 22:15:14 +0000 (00:15 +0200)
committerWill Deacon <will@kernel.org>
Tue, 8 Jun 2021 11:49:54 +0000 (12:49 +0100)
commit59d697a99daa4723b62f9b07f41191cca1e44f3f
treef115561ea39dd4aa560e29059d6c924f07da58bd
parent5ca54404e68de8560ca15e8d0e6b625fd05ceeaf
perf/hisi: Constify static attribute_group structs

These are only put in an array of pointers to const attribute_group
structs. Make them const like the other static attribute_group structs
to allow the compiler to put them in read-only memory.

Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Link: https://lore.kernel.org/r/20210605221514.73449-1-rikard.falkeborn@gmail.com
Signed-off-by: Will Deacon <will@kernel.org>
drivers/perf/hisilicon/hisi_uncore_pa_pmu.c
drivers/perf/hisilicon/hisi_uncore_sllc_pmu.c