commit | 8b575824304dd18a90616cbcf0f81ca1ed1fb5d2 | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Fri Jan 03 09:16:19 2020 +0100 |
committer | Takashi Iwai <tiwai@suse.de> | Fri Jan 03 09:23:50 2020 +0100 |
tree | d1c492e263fb25a53d8c930b2620389827344c1c | |
parent | 2ead9d087fe2eafecf801dd2ab83bdb66dc08ced [diff] |
ALSA: core: Treat snd_device_ops as const This is a preliminary patch to allow const for snd_device_ops definitions in each driver's code. The ops reference is read-only, hence it can be declared as const for further optimization. There should be no functional changes by this patch. Link: https://lore.kernel.org/r/20200103081714.9560-4-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>