perf: qcom: Constify static struct attribute_group
authorRikard Falkeborn <rikard.falkeborn@gmail.com>
Sun, 17 Jan 2021 21:28:44 +0000 (22:28 +0100)
committerWill Deacon <will@kernel.org>
Wed, 20 Jan 2021 17:51:22 +0000 (17:51 +0000)
commit30b34c4833ea7a1a48132d957052d79b6dcb1ebb
tree03de857a22945f828475d83d3467a4bb4b24e04a
parent4a669e2432fce9c01522a8453460e89f877dccd4
perf: qcom: Constify static struct attribute_group

The only usage is to put their addresses in an array of pointers to
const struct attribute group. Make them const 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/20210117212847.21319-2-rikard.falkeborn@gmail.com
Signed-off-by: Will Deacon <will@kernel.org>
drivers/perf/qcom_l2_pmu.c
drivers/perf/qcom_l3_pmu.c