aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/tasks.py
diff options
context:
space:
mode:
authorRikard Falkeborn <[email protected]>2021-01-17 23:16:22 +0100
committerVinod Koul <[email protected]>2021-01-19 20:21:20 +0530
commit565e3afaefee3cfe13783c2b1e8d5ceb09023beb (patch)
tree6143909e2a208f70b840196b96c1221949f4a18d /scripts/gdb/linux/tasks.py
parent0cff991179918f5618fdac7d65b7149bff6b3747 (diff)
soundwire: sysfs: Constify static struct attribute_group
The only place sdw_slave_dev_attr_group is used is when its address is passed to devm_device_add_group() which takes a pointer to const struct attribute_group. Make it const to allow the compiler to put it in read-only memory. This makes all attribute_group structs in the file const. Done with the help of Coccinelle. Signed-off-by: Rikard Falkeborn <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions