[PATCH] via-rhine for 2.5.5

From: Stephane Casset (sept@logidee.com)
Date: Thu Feb 21 2002 - 04:59:05 EST


Hi,

It seems that the following patch is necessary for via-rhine to compile.

--- drivers/net/via-rhine.c.orig Thu Feb 21 10:49:54 2002
+++ drivers/net/via-rhine.c Thu Feb 21 10:55:39 2002
@@ -1754,7 +1754,7 @@
         name: "via-rhine",
         id_table: via_rhine_pci_tbl,
         probe: via_rhine_init_one,
- remove: via_rhine_remove_one,
+ remove: __devexit_p(via_rhine_remove_one),
 };
 
 
@@ -1768,7 +1768,7 @@
 }
 
 
-static void __exit via_rhine_cleanup (void)
+static void __devexit via_rhine_cleanup (void)
 {
         pci_unregister_driver (&via_rhine_driver);
 }

Regards

-- 
Stéphane Casset           LOGIDÉE sàrl          Se faire plaisir d'apprendre
3, quai Kléber, Tour Sébastopol   Tel : +33 388 23 69 77  casset@logidee.com
F-67080 STRASBOURG Cedex 3        Fax : +33 388 23 70 00  http://logidee.com
-
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/



This archive was generated by hypermail 2b29 : Sat Feb 23 2002 - 21:00:30 EST