Re: [v4l-dvb-maintainer] build #340 failed for 2.6.24-rc5-g75b8c13in linux/drivers/media/video/tuner.ko

From: Mauro Carvalho Chehab
Date: Wed Dec 12 2007 - 09:46:42 EST


Em Qua, 2007-12-12 Ãs 08:42 -0500, Michael Krufky escreveu:
> > ERROR: "tea5761_attach" [drivers/media/video/tuner.ko] undefined!
> > ERROR: "tea5761_autodetection" [drivers/media/video/tuner.ko] undefined!
> > ERROR: "tea5767_autodetection" [drivers/media/video/tuner.ko] undefined!
> > ERROR: "tea5767_attach" [drivers/media/video/tuner.ko] undefined!

> It looks like the problem has something to do with VIDEO_TUNER=m while
> both TUNER_TEA5761 & TUNER_TEA5767 are set to 'y'.
>
> I thought that we had already seen this issue and fixed it, but I guess
> not :-/
>
> One would think that this could be fixed by making TUNER_TEA5761 &
> TUNER_TEA5767 both depend on VIDEO_TUNER , but that would be wrong,
> since each of those modules can be attached directly to a bridge driver
> without tuner.ko being present at all (although this is not done in
> practice right now, but it *is* the case with some other tuner drivers)

I don't see any issue on making both dependent on VIDEO_TUNER for
2.6.24, since they are currently used only by tuner core module
(tuner.ko).

Yet, the same kind of trouble can happen with other drivers that can be
shared by both V4L and DVB cores, like tda9887 and tda8290.

The proper solution for 2.6.25 seems to create a drivers/media/tuners
directory and write some different rules at Kconfig.

--
Cheers,
Mauro

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/