diff options
author | Rikard Falkeborn <[email protected]> | 2022-02-10 21:28:05 +0100 |
---|---|---|
committer | Herbert Xu <[email protected]> | 2022-02-18 16:21:09 +1100 |
commit | bd75b4ef4977f567c7a567cf8f48dc122a097aa9 (patch) | |
tree | 2cbdc2ac089b523f80146366def66ced61357d24 /tools/perf/scripts/python/mem-phys-addr.py | |
parent | 83b5a23b6604028ef635a72465b23a85a425b695 (diff) |
crypto: nx - Constify static attribute_group structs
The only usage of these is to pass their address to
sysfs_{create,remove}_group(), which takes 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 <[email protected]>
Reviewed-by: Daniel Axtens <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions