]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: pci: Constify snd_pcm_hardware definitions
authorTakashi Iwai <tiwai@suse.de>
Fri, 3 Jan 2020 08:16:17 +0000 (09:16 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 3 Jan 2020 08:23:47 +0000 (09:23 +0100)
commitac7e2efbe54921a15ccbb0362129732b332d6c91
treeaceb724163990fa46fb97b73dd91f186001207d1
parent96cf71bb7f66aa5b501a3c8942e3c4c513f3f0fe
ALSA: pci: Constify snd_pcm_hardware definitions

Most of snd_pcm_hardware definitions are just copied to another object
as-is, hence we can define them as const for further optimization.

There should be no functional changes by this patch.

Link: https://lore.kernel.org/r/20200103081714.9560-2-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
17 files changed:
sound/pci/ali5451/ali5451.c
sound/pci/echoaudio/darla20.c
sound/pci/echoaudio/darla24.c
sound/pci/echoaudio/echo3g.c
sound/pci/echoaudio/gina20.c
sound/pci/echoaudio/gina24.c
sound/pci/echoaudio/indigo.c
sound/pci/echoaudio/indigodj.c
sound/pci/echoaudio/indigodjx.c
sound/pci/echoaudio/indigoio.c
sound/pci/echoaudio/indigoiox.c
sound/pci/echoaudio/layla20.c
sound/pci/echoaudio/layla24.c
sound/pci/echoaudio/mia.c
sound/pci/echoaudio/mona.c
sound/pci/nm256/nm256.c
sound/pci/rme9652/hdspm.c