[PATCH] __devexit_p in drivers/net/tulip/de2104x.c

Anders Gustafsson (andersg@0x63.nu)
Tue, 20 Aug 2002 15:32:48 +0200


Adds __devexit_p to de_remove_one in drivers/net/tulip/de2104x.c to make it
possible to compile it with new binutils

-- 

//anders/g

--- a/drivers/net/tulip/de2104x.c Tue Aug 20 15:28:00 2002 +++ b/drivers/net/tulip/de2104x.c Tue Aug 20 15:28:00 2002 @@ -2136,7 +2136,7 @@ return rc; } -static void __exit de_remove_one (struct pci_dev *pdev) +static void __devexit de_remove_one (struct pci_dev *pdev) { struct net_device *dev = pci_get_drvdata(pdev); struct de_private *de = dev->priv; @@ -2216,7 +2216,7 @@ .name = DRV_NAME, .id_table = de_pci_tbl, .probe = de_init_one, - .remove = de_remove_one, + .remove = __devexit_p(de_remove_one), #ifdef CONFIG_PM .suspend = de_suspend, .resume = de_resume, - 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/