diff options
author | Rikard Falkeborn <[email protected]> | 2021-04-14 20:12:48 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2021-04-16 07:26:50 +0200 |
commit | d9962f6f428449fe227f1c88c65ac3fffdf7dceb (patch) | |
tree | 3f79cb2743772504338b0a8f0ec4f3a14775a0a2 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | a525ed1787abfc007eb892c38b098352707137bc (diff) |
intel_th: Constify attribute_group structs
The only usage of them is to pass their address to sysfs_create_group()
and sysfs_remove_group(), both which have pointers to const
attribute_group structs as input. Make them const to allow the compiler
to put them in read-only memory.
Signed-off-by: Rikard Falkeborn <[email protected]>
Signed-off-by: Alexander Shishkin <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions