From: Hans Verkuil <hverkuil@xs4all.nl>
To: David Miller <davem@davemloft.net>
Cc: torvalds@linux-foundation.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH]: exit_ivtv_i2c() cannot be __devexit
Date: Wed, 31 Oct 2007 09:17:12 +0100 [thread overview]
Message-ID: <200710310917.12832.hverkuil@xs4all.nl> (raw)
In-Reply-To: <20071030.212348.210855016.davem@davemloft.net>
On Wednesday 31 October 2007 05:23, David Miller wrote:
> Please apply, thanks!
>
> [MEDIA] IVTV: exit_ivtv_i2c() cannot be __devexit
>
> It is referenced both from __devinit code (ivtv_probe) and
> normal .text (ivtv_process_eeprom), and therefore cannot
> be discarded via __devexit.
Good catch!
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Thanks,
Hans
>
> Signed-off-by: David S. Miller <davem@davemloft.net>
> ---
> drivers/media/video/ivtv/ivtv-i2c.c | 2 +-
> drivers/media/video/ivtv/ivtv-i2c.h | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/media/video/ivtv/ivtv-i2c.c
> b/drivers/media/video/ivtv/ivtv-i2c.c index 285fca6..623eea2 100644
> --- a/drivers/media/video/ivtv/ivtv-i2c.c
> +++ b/drivers/media/video/ivtv/ivtv-i2c.c
> @@ -741,7 +741,7 @@ int __devinit init_ivtv_i2c(struct ivtv *itv)
> return i2c_bit_add_bus(&itv->i2c_adap);
> }
>
> -void __devexit exit_ivtv_i2c(struct ivtv *itv)
> +void exit_ivtv_i2c(struct ivtv *itv)
> {
> IVTV_DEBUG_I2C("i2c exit\n");
>
> diff --git a/drivers/media/video/ivtv/ivtv-i2c.h
> b/drivers/media/video/ivtv/ivtv-i2c.h index 677c329..de6a074 100644
> --- a/drivers/media/video/ivtv/ivtv-i2c.h
> +++ b/drivers/media/video/ivtv/ivtv-i2c.h
> @@ -36,6 +36,6 @@ void ivtv_call_i2c_clients(struct ivtv *itv,
> unsigned int cmd, void *arg);
>
> /* init + register i2c algo-bit adapter */
> int __devinit init_ivtv_i2c(struct ivtv *itv);
> -void __devexit exit_ivtv_i2c(struct ivtv *itv);
> +void exit_ivtv_i2c(struct ivtv *itv);
>
> #endif
prev parent reply other threads:[~2007-10-31 8:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-31 4:23 David Miller
2007-10-31 8:17 ` Hans Verkuil [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=200710310917.12832.hverkuil@xs4all.nl \
--to=hverkuil@xs4all.nl \
--cc=davem@davemloft.net \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@linux-foundation.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®