![]() | |||||||||||
Messages in this thread Complete thread (EXPERIMENTAL) |
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 | ||||||||||
![]() | |||||||||||
| Last update: 2005-03-22 12:31 [W:0.149 / U:0.100 seconds] ©2003-2005 Jasper Spaans | |||||||||||