small binutil patch, kernel 2.4.17-rc1
PATCH 1/1 small binutil patch, kernel 2.4.17-rc1
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]
[email protected]
-----------------------------
drivers/char/synclink.c +1 -1
@@ -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)
{
}
drivers/char/wdt_pci.c +2 -2
@@ -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.clinux_new/drivers/sound/via82cxxx_audio.c
drivers/sound/via82cxxx_audio.c +2 -2
@@ -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;