[Patch] My compile fixes for 2.5.2-pre10

Patrick Mau (mau@oscar.prima.de)
Wed, 9 Jan 2002 00:26:49 +0100


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;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/