LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Prarit Bhargava <prarit@redhat.com>
To: linux-kernel@vger.kernel.org, akpm@linux-foundation.org,
linux-fbdev-devel@lists.sourceforge.net, adaplas@pol.net
Cc: Prarit Bhargava <prarit@redhat.com>
Subject: [PATCH]: change rivafb_remove to __devexit
Date: Tue, 20 Feb 2007 11:13:07 -0500 [thread overview]
Message-ID: <20070220161306.23688.53776.sendpatchset@prarit.boston.redhat.com> (raw)
Resubmitting with wider audience (akpm & lkml).
Change rivafb_remove to __deviexit to fix MODPOST warnings:
WARNING: drivers/video/riva/rivafb.o - Section mismatch: reference to
.exit.text:rivafb_remove from .data.rel.local after 'rivafb_driver' (at offset 0x28)
Signed-off-by: Prarit Bhargava <prarit@redhat.com>
--- linux-2.6.19.ia64.orig/drivers/video/riva/fbdev.c 2007-02-07 09:56:37.000000000 -0500
+++ linux-2.6.19.ia64/drivers/video/riva/fbdev.c 2007-02-08 11:39:35.000000000 -0500
@@ -2154,7 +2154,7 @@ err_ret:
return ret;
}
-static void __exit rivafb_remove(struct pci_dev *pd)
+static void __devexit rivafb_remove(struct pci_dev *pd)
{
struct fb_info *info = pci_get_drvdata(pd);
struct riva_par *par = info->par;
@@ -2232,7 +2232,7 @@ static struct pci_driver rivafb_driver =
.name = "rivafb",
.id_table = rivafb_pci_tbl,
.probe = rivafb_probe,
- .remove = __exit_p(rivafb_remove),
+ .remove = __devexit_p(rivafb_remove),
};
next reply other threads:[~2007-02-20 16:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-20 16:13 Prarit Bhargava [this message]
2007-02-21 21:32 ` James Simmons
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=20070220161306.23688.53776.sendpatchset@prarit.boston.redhat.com \
--to=prarit@redhat.com \
--cc=adaplas@pol.net \
--cc=akpm@linux-foundation.org \
--cc=linux-fbdev-devel@lists.sourceforge.net \
--cc=linux-kernel@vger.kernel.org \
--subject='Re: [PATCH]: change rivafb_remove to __devexit' \
/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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).