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)
commitdf76996a2c5369769b23a017b6303f7ecacb277b
treeb786cedb97f7f5034325a82424be34948a19d2d7
parente382d7fcfc3ff21c8ba97a29bd451a289f57b757
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