diff options
author | Rikard Falkeborn <rikard.falkeborn@gmail.com> | 2020-11-21 02:10:46 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2020-11-21 11:30:35 +0300 |
commit | e714fa93898f3b1050356a16bef72168166ade2a (patch) | |
tree | 329b7dbe2828197964bcb8e5120d98737ed17398 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 45bbe6c95e427511f8d5a401d886b5261c673e30 (diff) | |
download | linux-e714fa93898f3b1050356a16bef72168166ade2a.tar.xz |
ALSA: aloop: Constify ops structs
The only usage of the ops field in the loopback_cable struct is to call
its members, the field it self is never changed. Make it a pointer to
const. This allows us to constify two static loopback_ops structs 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/20201120231046.76758-1-rikard.falkeborn@gmail.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions