]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - sound/pci/hda/hda_intel.c
ALSA: hda: Constify snd_device_ops definitions
authorTakashi Iwai <tiwai@suse.de>
Fri, 3 Jan 2020 08:16:24 +0000 (09:16 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 3 Jan 2020 08:23:55 +0000 (09:23 +0100)
commit41f394a8d80766a0d8d2cc8879c3a295be951f6c
treeb27232adb06da10b4930429f27cd550c539073bf
parent99f664df4fead60e31d96cc2b5044c9b2fee0767
ALSA: hda: Constify snd_device_ops definitions

Now we may declare const for snd_device_ops definitions, so let's do
it for optimization.

There should be no functional changes by this patch.

Link: https://lore.kernel.org/r/20200103081714.9560-9-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_beep.c
sound/pci/hda/hda_codec.c
sound/pci/hda/hda_intel.c
sound/pci/hda/hda_tegra.c