From: Jiang Liu Date: Wed, 30 Jan 2013 16:10:09 +0000 (+0800) Subject: PCI: acpiphp: Create companion ACPI devices before creating PCI devices X-Git-Tag: v3.9-rc1~82^2~6^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2ca344e8c798127ae01e656838b9b06ed41d1461;p=pandora-kernel.git PCI: acpiphp: Create companion ACPI devices before creating PCI devices With commit 4f535093cf8f6da8c "PCI: Put pci_dev in device tree as early as possible", companion ACPI devices should be created before creating corresponding PCI devices, otherwise it will break the ACPI PCI binding logic. Without this patch, the /sys/bus/pci/devices/.../firmware_node symlink is missing after hot-removing and hot-adding a device with acpiphp. Signed-off-by: Jiang Liu Signed-off-by: Bjorn Helgaas --- Reading git-diff-tree failed