From: Greg KH <greg@kroah.com>
To: linux-kernel@vger.kernel.org, pcihpd-discuss@lists.sourceforge.net
Subject: Re: [PATCH] PCI hotplug changes for 2.5.54
Date: Tue, 7 Jan 2003 17:57:14 -0800 [thread overview]
Message-ID: <20030108015714.GC30924@kroah.com> (raw)
In-Reply-To: <20030108015551.GB30924@kroah.com>
ChangeSet 1.895, 2003/01/07 16:29:23-08:00, greg@kroah.com
PCI: properly unregister a PCI device if it is removed.
This is only used by pci hotplug and cardbus systems.
diff -Nru a/drivers/pci/hotplug.c b/drivers/pci/hotplug.c
--- a/drivers/pci/hotplug.c Tue Jan 7 16:44:43 2003
+++ b/drivers/pci/hotplug.c Tue Jan 7 16:44:43 2003
@@ -105,7 +105,7 @@
void
pci_remove_device(struct pci_dev *dev)
{
- put_device(&dev->dev);
+ device_unregister(&dev->dev);
list_del(&dev->bus_list);
list_del(&dev->global_list);
pci_free_resources(dev);
next prev parent reply other threads:[~2003-01-08 1:48 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-08 1:55 [BK PATCH] PCI hotplug changes for 2.5.54 Greg KH
2003-01-08 1:55 ` [PATCH] " Greg KH
2003-01-08 1:57 ` Greg KH [this message]
2003-01-08 1:58 ` Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030108015714.GC30924@kroah.com \
--to=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
--cc=pcihpd-discuss@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox