Commit 1aaa4de8 authored by Russell King's avatar Russell King

[PATCH] PCI hotplug comment fixes

Fix comments about /sbin/hotplug; pci_insert_device does not call
/sbin/hotplug.
parent b82a1ce6
...@@ -71,8 +71,7 @@ int pci_hotplug (struct device *dev, char **envp, int num_envp, ...@@ -71,8 +71,7 @@ int pci_hotplug (struct device *dev, char **envp, int num_envp,
* @bus: where to insert it * @bus: where to insert it
* *
* Link the device to both the global PCI device chain and the * Link the device to both the global PCI device chain and the
* per-bus list of devices, add the /proc entry, and notify * per-bus list of devices, add the /proc entry.
* userspace (/sbin/hotplug).
*/ */
void void
pci_insert_device(struct pci_dev *dev, struct pci_bus *bus) pci_insert_device(struct pci_dev *dev, struct pci_bus *bus)
......
...@@ -480,8 +480,7 @@ struct pci_dev * __devinit pci_scan_slot(struct pci_dev *temp) ...@@ -480,8 +480,7 @@ struct pci_dev * __devinit pci_scan_slot(struct pci_dev *temp)
/* /*
* Link the device to both the global PCI device chain and * Link the device to both the global PCI device chain and
* the per-bus list of devices and call /sbin/hotplug if we * the per-bus list of devices and add the /proc entry.
* should.
*/ */
pci_insert_device (dev, bus); pci_insert_device (dev, bus);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment