2002-01-08 23:27:09

by Patrick Mau

[permalink] [raw]
Subject: [Patch] My compile fixes for 2.5.2-pre10

Hi all,

I need these two patches for 2.5.2-pre10 to compile.

Please aply,
Patrick

diff -u -r linux-2.5.2-10/drivers/char/serial.c work-2.5.2-10/drivers/char/serial.c
--- linux-2.5.2-10/drivers/char/serial.c Sat Jan 5 17:25:19 2002
+++ work-2.5.2-10/drivers/char/serial.c Tue Jan 8 23:59:57 2002
@@ -4481,7 +4481,7 @@
return 0;
}

-static void __devexit serial_remove_one(struct pci_dev *dev)
+static void serial_remove_one(struct pci_dev *dev)
{
int i;

diff -u -r linux-2.5.2-10/drivers/net/eepro100.c work-2.5.2-10/drivers/net/eepro100.c
--- linux-2.5.2-10/drivers/net/eepro100.c Fri Nov 23 21:05:25 2001
+++ work-2.5.2-10/drivers/net/eepro100.c Tue Jan 8 23:53:38 2002
@@ -2239,7 +2239,7 @@
}
#endif /* CONFIG_PM */

-static void __devexit eepro100_remove_one (struct pci_dev *pdev)
+static void eepro100_remove_one (struct pci_dev *pdev)
{
struct net_device *dev = pci_get_drvdata (pdev);
struct speedo_private *sp = (struct speedo_private *)dev->priv;