media: ivtv: Fix incompatible type for argument error
authorBhumika Goyal <bhumirks@gmail.com>
Wed, 16 Aug 2017 15:37:42 +0000 (11:37 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Sun, 20 Aug 2017 12:26:33 +0000 (08:26 -0400)
commitd088c3107e9718ca3271277693f80a42d4effe51
tree06b9222fd4277400c780f5d640bc89e775f30408
parentb295eef951adc5f19e06ed9b92fb1cd2e775e584
media: ivtv: 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/ivtv/ivtv-alsa-mixer.c