All of lore.kernel.org
 help / color / mirror / Atom feed
From: Holger Waechtler <holger@convergence.de>
To: Gregoire Favre <greg@ulima.unil.ch>
Cc: linux-dvb@linuxtv.org, linux-kernel@vger.kernel.org
Subject: Re: [linux-dvb] How to compil dvb CVS with 2.5.52?
Date: Fri, 20 Dec 2002 11:39:42 +0100	[thread overview]
Message-ID: <3E02F36E.3010508@convergence.de> (raw)
In-Reply-To: <20021219222730.GA3324@ulima.unil.ch>

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


      reply	other threads:[~2002-12-20 10:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-19 22:27 How to compil dvb CVS with 2.5.52? Gregoire Favre
2002-12-20 10:39 ` Holger Waechtler [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3E02F36E.3010508@convergence.de \
    --to=holger@convergence.de \
    --cc=greg@ulima.unil.ch \
    --cc=linux-dvb@linuxtv.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.