linux/drivers/perf/hisilicon
Rikard Falkeborn c2c4d5c051 perf: hisi: 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-4-rikard.falkeborn@gmail.com
Signed-off-by: Will Deacon <will@kernel.org>
2021-01-20 17:51:22 +00:00
..
hisi_uncore_ddrc_pmu.c perf: hisi: Constify static struct attribute_group 2021-01-20 17:51:22 +00:00
hisi_uncore_hha_pmu.c perf: hisi: Constify static struct attribute_group 2021-01-20 17:51:22 +00:00
hisi_uncore_l3c_pmu.c perf: hisi: Constify static struct attribute_group 2021-01-20 17:51:22 +00:00
hisi_uncore_pmu.c drivers/perf: hisi: Add identifier sysfs file 2020-11-25 15:10:35 +00:00
hisi_uncore_pmu.h drivers/perf: hisi: Add identifier sysfs file 2020-11-25 15:10:35 +00:00
Kconfig drivers/perf: hisi: Permit modular builds of HiSilicon uncore drivers 2020-05-18 18:18:39 +01:00
Makefile drivers/perf: hisi: Permit modular builds of HiSilicon uncore drivers 2020-05-18 18:18:39 +01:00