OSDN Git Service

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)
commit9a69ae1d46b09bb7fdefb7cf6fc459563123eacc
tree00bdcf260b94ff8b097793c38c59423579c5d7cc
parentdb4a8505ff86f6ccbe4880969c1d45c2d0ea7987
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