d9962f6f42
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 <rikard.falkeborn@gmail.com> Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20210414171251.14672-5-alexander.shishkin@linux.intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
||
---|---|---|
.. | ||
acpi.c | ||
core.c | ||
debug.c | ||
debug.h | ||
gth.c | ||
gth.h | ||
intel_th.h | ||
Kconfig | ||
Makefile | ||
msu-sink.c | ||
msu.c | ||
msu.h | ||
pci.c | ||
pti.c | ||
pti.h | ||
sth.c | ||
sth.h |