From: Anders Gustafsson <andersg@0x63.nu>
To: linux-kernel@vger.kernel.org
Cc: trivial@rustcorp.com.au, torvalds@transmeta.com
Subject: [PATCH] __devexit_p in drivers/net/tulip/de2104x.c
Date: Tue, 20 Aug 2002 15:32:48 +0200 [thread overview]
Message-ID: <20020820133248.GA577@h55p111.delphi.afb.lu.se> (raw)
Adds __devexit_p to de_remove_one in drivers/net/tulip/de2104x.c to make it
possible to compile it with new binutils
--
//anders/g
--- a/drivers/net/tulip/de2104x.c Tue Aug 20 15:28:00 2002
+++ b/drivers/net/tulip/de2104x.c Tue Aug 20 15:28:00 2002
@@ -2136,7 +2136,7 @@
return rc;
}
-static void __exit de_remove_one (struct pci_dev *pdev)
+static void __devexit de_remove_one (struct pci_dev *pdev)
{
struct net_device *dev = pci_get_drvdata(pdev);
struct de_private *de = dev->priv;
@@ -2216,7 +2216,7 @@
.name = DRV_NAME,
.id_table = de_pci_tbl,
.probe = de_init_one,
- .remove = de_remove_one,
+ .remove = __devexit_p(de_remove_one),
#ifdef CONFIG_PM
.suspend = de_suspend,
.resume = de_resume,
next reply other threads:[~2002-08-20 13:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-20 13:32 Anders Gustafsson [this message]
2002-08-20 22:10 ` [PATCH] __devexit_p in drivers/net/tulip/de2104x.c Jeff Garzik
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=20020820133248.GA577@h55p111.delphi.afb.lu.se \
--to=andersg@0x63.nu \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@transmeta.com \
--cc=trivial@rustcorp.com.au \
/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