ALSA: hda: make snd_kcontrol_new const
authorBhumika Goyal <bhumirks@gmail.com>
Wed, 16 Aug 2017 08:44:11 +0000 (14:14 +0530)
committerTakashi Iwai <tiwai@suse.de>
Wed, 16 Aug 2017 12:29:08 +0000 (14:29 +0200)
commitfdbf0488040622b225e8019d96693236dceaf832
tree7676e2682ad00034ad42faa570a47d5ddf45ac4d
parent7df3859bf71b9c36683846fa07d68ed89f769d72
ALSA: hda: make snd_kcontrol_new const

Make these const as they are only passed as the 3rd argument to the
function snd_hda_gen_add_kctl, which is of type const.
Done using Coccinelle.

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_analog.c
sound/pci/hda/patch_sigmatel.c