Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

PCI: hotplug: Link fakephp last

Currently, fakephp will claim all devices; we really only want it
to claim those not in slots.

Signed-off-by: Alex Chiang <achiang@hp.com>
Signed-off-by: Matthew Wilcox <matthew@wil.cx>
Signed-off-by: Kristen Carlson Accardi <kristen.c.accardi@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

authored by

Alex Chiang and committed by
Greg Kroah-Hartman
561e55e8 41ece382

+3 -1
+3 -1
drivers/pci/hotplug/Makefile
··· 3 3 # 4 4 5 5 obj-$(CONFIG_HOTPLUG_PCI) += pci_hotplug.o 6 - obj-$(CONFIG_HOTPLUG_PCI_FAKE) += fakephp.o 7 6 obj-$(CONFIG_HOTPLUG_PCI_COMPAQ) += cpqphp.o 8 7 obj-$(CONFIG_HOTPLUG_PCI_IBM) += ibmphp.o 9 8 obj-$(CONFIG_HOTPLUG_PCI_ACPI) += acpiphp.o ··· 14 15 obj-$(CONFIG_HOTPLUG_PCI_RPA) += rpaphp.o 15 16 obj-$(CONFIG_HOTPLUG_PCI_RPA_DLPAR) += rpadlpar_io.o 16 17 obj-$(CONFIG_HOTPLUG_PCI_SGI) += sgi_hotplug.o 18 + 19 + # Link this last so it doesn't claim devices that have a real hotplug driver 20 + obj-$(CONFIG_HOTPLUG_PCI_FAKE) += fakephp.o 17 21 18 22 pci_hotplug-objs := pci_hotplug_core.o 19 23