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



--
Info:
To unsubscribe send a mail to [EMAIL PROTECTED] with "unsubscribe linux-dvb" as subject.



Reply via email to