diff options
author | Rikard Falkeborn <[email protected]> | 2020-11-21 00:10:46 +0100 |
---|---|---|
committer | Takashi Iwai <[email protected]> | 2020-11-21 09:30:35 +0100 |
commit | e714fa93898f3b1050356a16bef72168166ade2a (patch) | |
tree | 329b7dbe2828197964bcb8e5120d98737ed17398 /lib/mpi/mpi-mod.c | |
parent | 45bbe6c95e427511f8d5a401d886b5261c673e30 (diff) |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions