From: Adrian Bunk <bunk@fs.tum.de>
To: Marcelo Tosatti <marcelo@conectiva.com.br>,
Russell King <rmk@arm.linux.org.uk>
Cc: linux-kernel@vger.kernel.org
Subject: [patch] fix .text.exit error in mtd/maps/pci.c
Date: Tue, 25 Jun 2002 15:34:39 +0200 (CEST) [thread overview]
Message-ID: <Pine.NEB.4.44.0206251532090.14220-100000@mimas.fachschaften.tu-muenchen.de> (raw)
The following error occured at the final linking of 2.4.19-rc1:
<-- snip -->
...
drivers/mtd/mtdlink.o(.data+0x934): undefined reference to `local
symbols in discarded section .text.exit'
...
<-- snip -->
The following patch fixes it (mtd_pci_remove is __devexit but the pointer
to it didn't use __devexit_p):
--- drivers/mtd/maps/pci.c.old Tue Jun 25 15:26:49 2002
+++ drivers/mtd/maps/pci.c Tue Jun 25 15:27:25 2002
@@ -361,7 +361,7 @@
static struct pci_driver mtd_pci_driver = {
name: "MTD PCI",
probe: mtd_pci_probe,
- remove: mtd_pci_remove,
+ remove: __devexit_p(mtd_pci_remove),
id_table: mtd_pci_ids,
};
cu
Adrian
--
You only think this is a free country. Like the US the UK spends a lot of
time explaining its a free country because its a police state.
Alan Cox
reply other threads:[~2002-06-25 13:34 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=Pine.NEB.4.44.0206251532090.14220-100000@mimas.fachschaften.tu-muenchen.de \
--to=bunk@fs.tum.de \
--cc=linux-kernel@vger.kernel.org \
--cc=marcelo@conectiva.com.br \
--cc=rmk@arm.linux.org.uk \
/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;
as well as URLs for NNTP newsgroup(s).