]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5619be29489b2c127c19e888e2942600bdc75318
tree7676e2682ad00034ad42faa570a47d5ddf45ac4d
parent1262b05fc75604cfb3d9442ed0d9083f7b657d04
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