e32fadc4c2
As Randy Dunlap <randy.dunlap@oracle.com> reported, cx88 has some compilation issues: drivers/built-in.o: In function `cx88_call_i2c_clients': (.text+0x20af17): undefined reference to `videobuf_dvb_get_frontend' drivers/built-in.o: In function `cx8802_probe': cx88-mpeg.c:(.devinit.text+0x268c4): undefined reference to `videobuf_dvb_alloc_frontend' cx88-mpeg.c:(.devinit.text+0x268ea): undefined reference to `videobuf_dvb_dealloc_frontends' With those configs: CONFIG_VIDEO_CX88=y CONFIG_VIDEO_CX88_BLACKBIRD=y CONFIG_VIDEO_CX88_DVB=m CONFIG_DVB_CORE=m After carefully examining the code, with the current code, several cx88 drivers (cx8800, cx8802, cx88_dvb and cx88_blackbird) should be compiled as a module, if one of them is marked as such. Just fixing Kconfig could create a very complex set of rules. Also, this hides a problem with the current approach where the dvb functionality weren't confined inside dvb module. What happens is that: - cx88-i2c (part of cx8800) has some special rules if DVB; - cx88-mpeg (cx8802 module) has also part of DVB init code; - cx88-dvb has the rest of the dvb code; - cx88-blackbird can be used with cx88-mpeg, having cx88-dvb or not. So, instead of doing some tricks at Kconfig and wait for a next breakage, this patch moves the dvb code inside cx88-i2c and cx88-mpeg into cx88-dvb. Another problem is that cx8802 were being compiled, even without cx88-dvb and cx88-blackbird modules. While on this code, let's fix also a reported problem: http://www.linuxtv.org/pipermail/linux-dvb/2009-January/031225.html A solution for the issue were proposed here: http://www.mail-archive.com/linux-media@vger.kernel.org/msg00021.html Thanks to Randy, Andy, Gregoire and Thomas for helping us to detect and solve the issues. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com> |
||
---|---|---|
.. | ||
au0828 | ||
bt8xx | ||
cpia2 | ||
cx18 | ||
cx88 | ||
cx23885 | ||
cx25840 | ||
em28xx | ||
et61x251 | ||
gspca | ||
ivtv | ||
ovcamchip | ||
pvrusb2 | ||
pwc | ||
saa7134 | ||
sn9c102 | ||
usbvideo | ||
usbvision | ||
uvc | ||
zc0301 | ||
zoran | ||
adv7170.c | ||
adv7175.c | ||
arv.c | ||
bt819.c | ||
bt856.c | ||
bt866.c | ||
btcx-risc.c | ||
btcx-risc.h | ||
bw-qcam.c | ||
bw-qcam.h | ||
c-qcam.c | ||
cafe_ccic-regs.h | ||
cafe_ccic.c | ||
cpia_pp.c | ||
cpia_usb.c | ||
cpia.c | ||
cpia.h | ||
cs53l32a.c | ||
cs5345.c | ||
cs8420.h | ||
cx2341x.c | ||
dabusb.c | ||
dabusb.h | ||
font.h | ||
hexium_gemini.c | ||
hexium_orion.c | ||
ibmmpeg2.h | ||
indycam.c | ||
indycam.h | ||
ir-kbd-i2c.c | ||
Kconfig | ||
ks0127.c | ||
ks0127.h | ||
m52790.c | ||
Makefile | ||
meye.c | ||
meye.h | ||
msp3400-driver.c | ||
msp3400-driver.h | ||
msp3400-kthreads.c | ||
mt9m001.c | ||
mt9m111.c | ||
mt9t031.c | ||
mt9v022.c | ||
mxb.c | ||
mxb.h | ||
omap24xxcam-dma.c | ||
omap24xxcam.c | ||
omap24xxcam.h | ||
ov511.c | ||
ov511.h | ||
ov772x.c | ||
ov7670.c | ||
pms.c | ||
pxa_camera.c | ||
s2255drv.c | ||
saa711x_regs.h | ||
saa717x.c | ||
saa5246a.c | ||
saa5249.c | ||
saa6588.c | ||
saa7110.c | ||
saa7111.c | ||
saa7114.c | ||
saa7115.c | ||
saa7121.h | ||
saa7127.c | ||
saa7146.h | ||
saa7146reg.h | ||
saa7185.c | ||
saa7191.c | ||
saa7191.h | ||
se401.c | ||
se401.h | ||
sh_mobile_ceu_camera.c | ||
soc_camera_platform.c | ||
soc_camera.c | ||
stk-sensor.c | ||
stk-webcam.c | ||
stk-webcam.h | ||
stradis.c | ||
stv680.c | ||
stv680.h | ||
tcm825x.c | ||
tcm825x.h | ||
tda7432.c | ||
tda9840.c | ||
tda9840.h | ||
tda9875.c | ||
tea6415c.c | ||
tea6415c.h | ||
tea6420.c | ||
tea6420.h | ||
tlv320aic23b.c | ||
tuner-core.c | ||
tvaudio.c | ||
tveeprom.c | ||
tvp514x_regs.h | ||
tvp514x.c | ||
tvp5150_reg.h | ||
tvp5150.c | ||
tw9910.c | ||
upd64031a.c | ||
upd64083.c | ||
v4l1-compat.c | ||
v4l2-common.c | ||
v4l2-compat-ioctl32.c | ||
v4l2-dev.c | ||
v4l2-device.c | ||
v4l2-int-device.c | ||
v4l2-ioctl.c | ||
v4l2-subdev.c | ||
videobuf-core.c | ||
videobuf-dma-contig.c | ||
videobuf-dma-sg.c | ||
videobuf-dvb.c | ||
videobuf-vmalloc.c | ||
vino.c | ||
vino.h | ||
vivi.c | ||
vp27smpx.c | ||
vpx3220.c | ||
w9966.c | ||
w9968cf_decoder.h | ||
w9968cf_vpp.h | ||
w9968cf.c | ||
w9968cf.h | ||
wm8739.c | ||
wm8775.c | ||
zr364xx.c |