diff options
author | Takashi Iwai <tiwai@suse.de> | 2020-01-03 09:16:46 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2020-01-03 09:24:20 +0100 |
commit | f8ae2d2919481817d2e942617c203fc792687c66 (patch) | |
tree | a2851521c13cf8ec02118027e8ceed786eeb152e /sound/pcmcia/vx/vxpocket.h | |
parent | ALSA: seq: Constify struct snd_midi_op (diff) | |
download | linux-f8ae2d2919481817d2e942617c203fc792687c66.tar.xz linux-f8ae2d2919481817d2e942617c203fc792687c66.zip |
ALSA: vx: Constify snd_vx_hardware and snd_vx_ops definitions
Both snd_vx_hardware and snd_vx_ops are only referred without
modification, hence they can be constified gracefully for further
optimizations.
There should be no functional changes by this patch.
Link: https://lore.kernel.org/r/20200103081714.9560-31-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pcmcia/vx/vxpocket.h')
-rw-r--r-- | sound/pcmcia/vx/vxpocket.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pcmcia/vx/vxpocket.h b/sound/pcmcia/vx/vxpocket.h index 6dbd9f6bd2ff..bce616cc3aca 100644 --- a/sound/pcmcia/vx/vxpocket.h +++ b/sound/pcmcia/vx/vxpocket.h @@ -32,7 +32,7 @@ struct snd_vxpocket { #define to_vxpocket(x) container_of(x, struct snd_vxpocket, core) -extern struct snd_vx_ops snd_vxpocket_ops; +extern const struct snd_vx_ops snd_vxpocket_ops; void vx_set_mic_boost(struct vx_core *chip, int boost); void vx_set_mic_level(struct vx_core *chip, int level); |