mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
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>
This commit is contained in:
parent
20116dd93f
commit
2ceee7ed4c
1 changed files with 3 additions and 3 deletions
Loading…
Add table
Add a link
Reference in a new issue