diff options
author | Rikard Falkeborn <rikard.falkeborn@gmail.com> | 2021-01-08 23:15:12 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-01-26 19:24:51 +0100 |
commit | 26c2e922614074da5146aa538c5afaf19112bae1 (patch) | |
tree | 2f8d02ada4c25d3663dc2b754d7a59a33e9d5fe5 /drivers/misc/sgi-xp | |
parent | e4240253ac853886e7066e0bb765e2d96e3b1eb6 (diff) | |
download | linux-next-26c2e922614074da5146aa538c5afaf19112bae1.tar.gz |
most: core: Constify static attribute_group structs
The only usage of these is to put their addresses in arrays of pointers
to const attribute_groups. 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/20210108221512.18811-1-rikard.falkeborn@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/sgi-xp')
0 files changed, 0 insertions, 0 deletions