]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: arm: Constify snd_ac97_bus_ops definitions
authorTakashi Iwai <tiwai@suse.de>
Fri, 3 Jan 2020 08:16:40 +0000 (09:16 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 3 Jan 2020 08:24:11 +0000 (09:24 +0100)
commitd84e73a711981209a773c49152be951cb3c4a06d
treeae773e479589fa01fa89da41f8a5a29da75a4967
parent31e2ca1e7a141f74439857d866753374d8a46416
ALSA: arm: 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-25-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/arm/aaci.c
sound/arm/pxa2xx-ac97.c