]> git.baikalelectronics.ru Git - kernel.git/commit
media: cx88: make snd_kcontrol_new const
authorBhumika Goyal <bhumirks@gmail.com>
Wed, 16 Aug 2017 09:17:04 +0000 (05:17 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Sun, 20 Aug 2017 12:25:27 +0000 (08:25 -0400)
commit27f39dfe9a44fa0310d2108e8e41864435dd88d0
tree00bdcf260b94ff8b097793c38c59423579c5d7cc
parent0e09a47cdd7d1fb702faf45bdf2430f6426f955b
media: cx88: make snd_kcontrol_new const

Make this const as it only passed as the 1st argument to the function
snd_ctl_new1, which is of type const.
Done using Coccinelle.

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/pci/cx88/cx88-alsa.c