Re: [linux-dvb] How to compil dvb CVS with 2.5.52?

Holger Waechtler (holger@convergence.de)
Fri, 20 Dec 2002 11:39:42 +0100


Hi Gregoire,

Gregoire Favre wrote:
>
> It then don't compil and i have to patch with the patch sent to this
> list the Wed, 11 Dec 2002 10:53:43 +1100 from Rusty Russell:
>
> --- drivers/media/dvb/dvb-core/dvb_i2c.c 2002-12-19 23:21:07.000000000 +0100
> +++ drivers/media/dvb/dvb-core/dvb_i2c.c~ 2002-11-28 19:57:09.000000000 +0100
> @@ -64,8 +64,10 @@
> void try_attach_device (struct dvb_i2c_bus *i2c, struct dvb_i2c_device *dev)
> {
> if (dev->owner) {
> - if (!try_inc_mod_count(dev->owner))
> + if (!MOD_CAN_QUERY(dev->owner))
> return;
> +
> + __MOD_INC_USE_COUNT(dev->owner);
> }
>
> if (dev->attach (i2c) == 0) {
>

are you sure? MOD_CAN_QUERY() and __MOD_INC_USE_COUNT() are 2.4 macros,
they are deprecated now. The compatibility fake is implemented in
compat.h. Could you please check this again and tell me what exactly the
problem is?

Holger

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