OSDN Git Service

ALSA: vx: Constify snd_vx_hardware and snd_vx_ops definitions
authorTakashi Iwai <tiwai@suse.de>
Fri, 3 Jan 2020 08:16:46 +0000 (09:16 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 3 Jan 2020 08:24:20 +0000 (09:24 +0100)
commitf8ae2d2919481817d2e942617c203fc792687c66
treea2851521c13cf8ec02118027e8ceed786eeb152e
parentaad7ebb544072bcb9335fa4eb0fbd1b85a6c495b
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>
include/sound/vx_core.h
sound/drivers/vx/vx_core.c
sound/pci/vx222/vx222.c
sound/pci/vx222/vx222.h
sound/pci/vx222/vx222_ops.c
sound/pcmcia/vx/vxp_ops.c
sound/pcmcia/vx/vxpocket.c
sound/pcmcia/vx/vxpocket.h