2.6.6-rc3: modular DVB tda1004x broken

Adrian Bunk
2004-05-01T20:13:51Z

On Wed, Apr 28, 2004 at 09:56:08PM +1000, Eyal Lebedinsky wrote:
>...
> depmod says:
>
> WARNING:
> /lib/modules/2.6.6-rc3/kernel/drivers/media/dvb/frontends/tda1004x.ko needs
> unknown symbol errno
>...

Thanks for this report.

It seems the DVB updates broke this.

Please _undo_ the patch below.

cu
Adrian

--- a/drivers/media/dvb/frontends/tda1004x.c Tue Apr 27 18:37:15 2004
+++ b/drivers/media/dvb/frontends/tda1004x.c Tue Apr 27 18:37:15 2004
@@ -188,7 +190,6 @@
static struct fwinfo tda10046h_fwinfo[] = { {.file_size = 286720,.fw_offset = 0x3c4f9,.fw_size = 24479} };
static int tda10046h_fwinfo_count = sizeof(tda10046h_fwinfo) / sizeof(struct fwinfo);

-static int errno;

static int tda1004x_write_byte(struct dvb_i2c_bus *i2c, struct tda1004x_state *tda_state, int reg, int data)