de2104x.c missing __devexit_p in 2.5.43
PATCH 1/1 de2104x.c missing __devexit_p in 2.5.43
IMHO subject and patch are self explainning :)
Signature · 2 lines
Andrey Panin | Embedded systems software developer [email protected] | PGP key: wwwkeys.eu.pgp.net
drivers/net/tulip/de2104x.c +1 -1
@@ -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,
drivers/net/tulip/de2104x.c line 2222
Quoted 12 lines · Andrey Panin
diff -urN -X
/usr/share/dontdifflinux-vanilla/drivers/net/tulip/de2104x.clinux/drivers/net/tulip/de2104x.cdrivers/net/tulip/de2104x.c +1
-1@@ -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,
alas, it is incorrect, as no one hotplugs this hardware.
Jeff
Quoted 17 lines · Jeff Garzik
drivers/net/tulip/de2104x.c line 2222
Quoted 13 lines · Andrey Panin
diff -urN -X
/usr/share/dontdifflinux-vanilla/drivers/net/tulip/de2104xclinux/drivers/net/tulip/de2104x.cdrivers/net/tulip/de2104x.c +1
-1@@ -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,alas, it is incorrect, as no one hotplugs this hardware.
This patch is not about hotplugging, absence of __devexi_p() makes impossible to link this driver in kernel.
Signature · 2 lines
Andrey Panin | Embedded systems software developer [email protected] | PGP key: wwwkeys.eu.pgp.net