]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: timer: Constify snd_timer_hardware definitions
authorTakashi Iwai <tiwai@suse.de>
Fri, 3 Jan 2020 08:16:36 +0000 (09:16 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 3 Jan 2020 08:24:07 +0000 (09:24 +0100)
commit8a6968caf5b0b8428477dc6ba5b72780b992cd3a
treeb786cedb97f7f5034325a82424be34948a19d2d7
parentc484b7a63cc0e4c5157ba5b1ed6ae7dc47ba59bd
ALSA: timer: Constify snd_timer_hardware definitions

Most of snd_timer_hardware definitions do simply copying to another
struct as-is.  Mark them as const for further optimization.

There should be no functional changes by this patch.

Link: https://lore.kernel.org/r/20200103081714.9560-21-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/pcm_timer.c
sound/core/timer.c