media: cx18: Fix incompatible type for argument error
authorBhumika Goyal <bhumirks@gmail.com>
Wed, 16 Aug 2017 14:54:00 +0000 (10:54 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Sun, 20 Aug 2017 12:26:16 +0000 (08:26 -0400)
commitb295eef951adc5f19e06ed9b92fb1cd2e775e584
tree9b8bc39d46aec383bd7b3d691c16765c6c695537
parent24a571d1edee3afc167c67460bbb7a06ed499ab1
media: cx18: Fix incompatible type for argument error

The first argument of function snd_ctl_new1 is of type const struct
snd_kcontrol_new * but in this file the variable is passed by value to
this function.
This generated ""incompatible type for argument" error. So, pass the
variable by reference.

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/cx18/cx18-alsa-mixer.c