arm64: perf: Constify static attribute_group structs
authorRikard Falkeborn <rikard.falkeborn@gmail.com>
Sun, 31 Jan 2021 14:36:15 +0000 (15:36 +0100)
committerWill Deacon <will@kernel.org>
Tue, 2 Feb 2021 18:46:05 +0000 (18:46 +0000)
commit2ceee7ed4c6c9e3eec1004aee43608bc98b10603
tree7af5a42f23ae9ad14d4b9f9cd648b41a2e9dca2c
parent20116dd93f4d0b2e84a25ee83e3238586dbb79ec
arm64: perf: Constify static attribute_group structs

The only usage of these is to put their addresses in an array of
pointers to const attribute_group structs. Make them const to allow the
compiler to put them in read-only memory.

Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/kernel/perf_event.c