[media] cx88-alsa: fix compiler warning
authorHans Verkuil <hverkuil@xs4all.nl>
Sun, 6 Mar 2011 12:31:00 +0000 (09:31 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 22 Mar 2011 07:54:03 +0000 (04:54 -0300)
commitd6972cc8a35514a518ef9c9f608327851cd2e856
treeed73c3a2e1869ee024b8515766b15329ff10c898
parentcfa746b39c2db17f2fde301e347324ac89fc5ea9
[media] cx88-alsa: fix compiler warning

drivers/media/video/cx88/cx88-alsa.c: In function 'cx88_audio_initdev':
drivers/media/video/cx88/cx88-alsa.c:881:20: warning: 'core' may be used uninitialized in this function

The compiler doesn't understand that snd_cx88_create fills in the core
pointer. So just initialize it to NULL.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/cx88/cx88-alsa.c