* [PATCH] small binutil patch, kernel 2.4.17-rc1
@ 2001-12-16 6:41 John Peter Tapsell
0 siblings, 0 replies; only message in thread
From: John Peter Tapsell @ 2001-12-16 6:41 UTC (permalink / raw)
To: linux-kernel; +Cc: marcelo
Some more fixes with the problem exposed with the new binutils.
It is a simple replace of __exit with __devexit in 3 files.
[cc me please]
john.tapsell@cs.man.ac.uk
-----------------------------
diff -urN linux/drivers/char/synclink.c linux_new/drivers/char/synclink.c
--- linux/drivers/char/synclink.c Fri Sep 14 22:39:59 2001
+++ linux_new/drivers/char/synclink.c Sat Dec 15 06:02:42 2001
@@ -926,7 +926,7 @@
static int __init synclink_init_one (struct pci_dev *dev,
const struct pci_device_id *ent);
-static void __exit synclink_remove_one (struct pci_dev *dev);
+static void __devexit synclink_remove_one (struct pci_dev *dev);
static struct pci_device_id synclink_pci_tbl[] __devinitdata = {
{ PCI_VENDOR_ID_MICROGATE, PCI_DEVICE_ID_MICROGATE_USC, PCI_ANY_ID,
PCI_ANY_ID, },
@@ -940,7 +940,7 @@
name: "synclink",
id_table: synclink_pci_tbl,
probe: synclink_init_one,
- remove: synclink_remove_one,
+ remove: __devexit_p(synclink_remove_one),
};
static struct tty_driver serial_driver, callout_driver;
@@ -8219,7 +8219,7 @@
return 0;
}
-static void __exit synclink_remove_one (struct pci_dev *dev)
+static void __devexit synclink_remove_one (struct pci_dev *dev)
{
}
diff -urN linux/drivers/char/wdt_pci.c linux_new/drivers/char/wdt_pci.c
--- linux/drivers/char/wdt_pci.c Fri Sep 7 17:28:38 2001
+++ linux_new/drivers/char/wdt_pci.c Sat Dec 15 06:01:51 2001
@@ -560,7 +560,7 @@
}
-static void __exit wdtpci_remove_one (struct pci_dev *pdev)
+static void __devexit wdtpci_remove_one (struct pci_dev *pdev)
{
/* here we assume only one device will ever have
* been picked up and registered by probe function */
@@ -585,7 +585,7 @@
name: "wdt-pci",
id_table: wdtpci_pci_tbl,
probe: wdtpci_init_one,
- remove: wdtpci_remove_one,
+ remove: __devexit_p(wdtpci_remove_one),
};
diff -urN linux/drivers/sound/via82cxxx_audio.c
linux_new/drivers/sound/via82cxxx_audio.c
--- linux/drivers/sound/via82cxxx_audio.c Sat Dec 15 06:10:01 2001
+++ linux_new/drivers/sound/via82cxxx_audio.c Sat Dec 15 05:58:07 2001
@@ -365,7 +365,7 @@
name: VIA_MODULE_NAME,
id_table: via_pci_tbl,
probe: via_init_one,
- remove: via_remove_one,
+ remove: __devexit_p(via_remove_one),
};
@@ -3271,7 +3271,7 @@
}
-static void __exit via_remove_one (struct pci_dev *pdev)
+static void __devexit via_remove_one (struct pci_dev *pdev)
{
struct via_info *card;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-12-16 6:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-12-16 6:41 [PATCH] small binutil patch, kernel 2.4.17-rc1 John Peter Tapsell
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.