diff options
| author | Takashi Iwai <[email protected]> | 2020-01-03 08:16:19 +0000 |
|---|---|---|
| committer | Takashi Iwai <[email protected]> | 2020-01-03 08:23:50 +0000 |
| commit | 8b575824304dd18a90616cbcf0f81ca1ed1fb5d2 (patch) | |
| tree | d1c492e263fb25a53d8c930b2620389827344c1c /sound/core/timer.c | |
| parent | ALSA: usb: Constify snd_pcm_hardware definitions (diff) | |
| download | kernel-8b575824304dd18a90616cbcf0f81ca1ed1fb5d2.tar.gz kernel-8b575824304dd18a90616cbcf0f81ca1ed1fb5d2.zip | |
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/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'sound/core/timer.c')
0 files changed, 0 insertions, 0 deletions
