[2.5.6-pre2] Fix for dmfe.c with newer binutils

From: Sebastian Droege (sebastian.droege@gmx.de)
Date: Tue Mar 05 2002 - 08:20:43 EST


Hi,
here is a really simple fix for the link problems with newer binutils
it's already fixed this way in 2.4.18 and 2.5.5-dj2

Bye

--- linux-2.5.5/drivers/net/dmfe.c~ Tue Mar 5 14:12:49 2002
+++ linux-2.5.5/drivers/net/dmfe.c Tue Mar 5 14:09:43 2002
@@ -1986,7 +1986,7 @@
        name: "dmfe",
        id_table: dmfe_pci_tbl,
        probe: dmfe_init_one,
- remove: dmfe_remove_one,
+ remove: __devexit_p(dmfe_remove_one),
 };
 
 MODULE_AUTHOR("Sten Wang, sten_wang@davicom.com.tw");


-
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 : Thu Mar 07 2002 - 21:00:41 EST