Skip to content
Commit f0c14048 authored by Rikard Falkeborn's avatar Rikard Falkeborn Committed by Will Deacon
Browse files

perf: 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: default avatarRikard Falkeborn <rikard.falkeborn@gmail.com>
Link: https://lore.kernel.org/r/20210117212847.21319-5-rikard.falkeborn@gmail.com


Signed-off-by: default avatarWill Deacon <will@kernel.org>
parent c2c4d5c0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment