]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: ac97: Constify snd_ac97_bus_ops definitions
authorTakashi Iwai <tiwai@suse.de>
Fri, 3 Jan 2020 08:16:39 +0000 (09:16 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 3 Jan 2020 08:24:11 +0000 (09:24 +0100)
commit31e2ca1e7a141f74439857d866753374d8a46416
treea1c0cbc63476b5b573136149afa5334a246dc773
parent3767c5d079a551ae204af2328e411209cb009821
ALSA: ac97: Constify snd_ac97_bus_ops definitions

Now snd_ac97_bus() takes the const ops pointer, so we can define the
snd_ac97_bus_ops locally as const as well for further optimization.

There should be no functional changes by this patch.

Link: https://lore.kernel.org/r/20200103081714.9560-24-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/ac97/snd_ac97_compat.c