diff options
author | Takashi Iwai <tiwai@suse.de> | 2020-01-03 11:16:38 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2020-01-03 11:24:08 +0300 |
commit | 19260818a9747768b09c1c1f10b4125b4d00595e (patch) | |
tree | 507e3c28cdadc37f040d0c50e2636116e54c752d /sound/ac97/snd_ac97_compat.c | |
parent | 5ff16a3d48ef58be8fd93035ae9272d4cc990c49 (diff) | |
download | linux-19260818a9747768b09c1c1f10b4125b4d00595e.tar.xz |
ALSA: ac97: Treat snd_ac97_bus_ops as const
This is a preliminary patch to allow const for snd_ac97_bus_ops
definitions in each driver's code. The ops reference is read-only,
hence it can be declared as const for further optimization.
There should be no functional changes by this patch.
Link: https://lore.kernel.org/r/20200103081714.9560-23-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/ac97/snd_ac97_compat.c')
0 files changed, 0 insertions, 0 deletions