V4L/DVB (6893): tuner-xc2028: fix xc2028_attach function
authorMichael Krufky <mkrufky@linuxtv.org>
Fri, 21 Dec 2007 19:12:09 +0000 (16:12 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Fri, 25 Jan 2008 21:04:14 +0000 (19:04 -0200)
commit7972f9880c8c812332a56da7cfa4523d01ea310b
tree89a21740f33723c103357c66e34e039b1cd84d85
parentfb6d8e2c7fe1667d8ce057e333b18deb91191be5
V4L/DVB (6893): tuner-xc2028: fix xc2028_attach function

xc2028_attach was returning an integer when disabled from the build, where it
should instead be returning NULL.  Declare xc2028_attach as type dvb_frontend *
instead of void *.

The prototype declaration must be marked as extern in the header.

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/tuner-xc2028.c
drivers/media/video/tuner-xc2028.h