public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Tulip driver fails to link (2.5.48)
@ 2002-11-18 21:46 Peter Chubb
  2002-11-18 22:02 ` Jeff Garzik
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Chubb @ 2002-11-18 21:46 UTC (permalink / raw)
  To: linux-kernel; +Cc: Jeff Garzik


Hi,
	In the tulip driver,  the .remove entry of struct pci_driveris
declared __devexit_p but the function  is declared __exit.  This
causes a relocation error when building as a built-in (not a module),
when CONFIG_HOTPLUG is defined.

===== drivers/net/tulip/de2104x.c 1.12 vs edited =====
--- 1.12/drivers/net/tulip/de2104x.c    Wed Nov  6 05:19:30 2002
+++ edited/drivers/net/tulip/de2104x.c  Mon Nov 18 21:14:47 2002
@@ -2137,7 +2137,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;

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-11-18 21:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-18 21:46 [PATCH] Tulip driver fails to link (2.5.48) Peter Chubb
2002-11-18 22:02 ` Jeff Garzik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox