]> 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)
commit9c598e3c3bb9d7a7958d050ca0bc3ab22246dbdb
treeae773e479589fa01fa89da41f8a5a29da75a4967
parent2c4471212195951ec201b30d40f0110a9fc44039
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