alistair23-linux/drivers/pci
Yinghai Lu ef37702eb3 PCI: Move pci_proc_attach_device() to pci_bus_add_device()
4f535093cf ("PCI: Put pci_dev in device tree as early as possible")
moved pci_proc_attach_device() from pci_bus_add_device() to
pci_device_add().

This moves it back to pci_bus_add_device(), essentially reverting that
part of 4f535093cf.  This makes it symmetric with pci_stop_dev(),
where we call pci_proc_detach_device() and pci_remove_sysfs_dev_files()
and set dev->is_added = 0.

[bhelgaas: changelog, create sysfs then attach proc for symmetry]
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
2013-12-18 13:53:38 -07:00
..
host PCI: Fix whitespace, capitalization, and spelling errors 2013-11-14 11:28:18 -07:00
hotplug PCI updates for v3.13: 2013-11-22 10:53:47 -08:00
pcie PCI updates for v3.13: 2013-11-22 10:53:47 -08:00
access.c PCI: Remove pcie_cap_has_devctl() 2013-08-28 20:51:39 -06:00
ats.c PCI: Fix whitespace, capitalization, and spelling errors 2013-11-14 11:28:18 -07:00
bus.c PCI: Move pci_proc_attach_device() to pci_bus_add_device() 2013-12-18 13:53:38 -07:00
host-bridge.c
hotplug-pci.c
htirq.c
ioapic.c ACPI: Eliminate the DEVICE_ACPI_HANDLE() macro 2013-11-14 23:17:21 +01:00
iov.c PCI: Fix whitespace, capitalization, and spelling errors 2013-11-14 11:28:18 -07:00
irq.c PCI: Fix whitespace, capitalization, and spelling errors 2013-11-14 11:28:18 -07:00
Kconfig PCI: remove ARCH_SUPPORTS_MSI kconfig option 2013-08-12 15:26:48 +00:00
Makefile
msi.c PCI: Fix whitespace, capitalization, and spelling errors 2013-11-14 11:28:18 -07:00
of.c
pci-acpi.c PCI updates for v3.13: 2013-11-22 10:53:47 -08:00
pci-driver.c PCI: Fix whitespace, capitalization, and spelling errors 2013-11-14 11:28:18 -07:00
pci-label.c ACPI: Eliminate the DEVICE_ACPI_HANDLE() macro 2013-11-14 23:17:21 +01:00
pci-stub.c PCI: Fix whitespace, capitalization, and spelling errors 2013-11-14 11:28:18 -07:00
pci-sysfs.c PCI: Fix whitespace, capitalization, and spelling errors 2013-11-14 11:28:18 -07:00
pci.c PCI: Fix whitespace, capitalization, and spelling errors 2013-11-14 11:28:18 -07:00
pci.h PCI: convert bus code to use dev_groups 2013-10-07 14:58:42 -06:00
probe.c PCI: Move pci_proc_attach_device() to pci_bus_add_device() 2013-12-18 13:53:38 -07:00
proc.c PCI: Fix whitespace, capitalization, and spelling errors 2013-11-14 11:28:18 -07:00
quirks.c PCI: Fix whitespace, capitalization, and spelling errors 2013-11-14 11:28:18 -07:00
remove.c PCI: Use device_release_driver() in pci_stop_root_bus() 2013-12-18 13:53:36 -07:00
rom.c
search.c PCI: Fix whitespace, capitalization, and spelling errors 2013-11-14 11:28:18 -07:00
setup-bus.c PCI: Fix whitespace, capitalization, and spelling errors 2013-11-14 11:28:18 -07:00
setup-irq.c
setup-res.c PCI: Fix whitespace, capitalization, and spelling errors 2013-11-14 11:28:18 -07:00
slot.c PCI: Fix whitespace, capitalization, and spelling errors 2013-11-14 11:28:18 -07:00
syscall.c PCI: Fix whitespace, capitalization, and spelling errors 2013-11-14 11:28:18 -07:00
vpd.c
xen-pcifront.c