aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/pci/hotplug/Makefile
diff options
context:
space:
mode:
authorAlex Chiang <achiang@hp.com>2007-10-12 16:20:33 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2008-02-01 15:04:20 -0800
commit561e55e8e375dd962882cada9001065695724d3a (patch)
treef32417c7bf1709493aa1d7272abce5a9f56d1767 /drivers/pci/hotplug/Makefile
parentPCI: hotplug: pci_hotplug_core whitespace fix (diff)
downloadwireguard-linux-561e55e8e375dd962882cada9001065695724d3a.tar.xz
wireguard-linux-561e55e8e375dd962882cada9001065695724d3a.zip
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>
Diffstat (limited to 'drivers/pci/hotplug/Makefile')
-rw-r--r--drivers/pci/hotplug/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/pci/hotplug/Makefile b/drivers/pci/hotplug/Makefile
index 34a1891191fd..9bdbe1a6688f 100644
--- a/drivers/pci/hotplug/Makefile
+++ b/drivers/pci/hotplug/Makefile
@@ -3,7 +3,6 @@
#
obj-$(CONFIG_HOTPLUG_PCI) += pci_hotplug.o
-obj-$(CONFIG_HOTPLUG_PCI_FAKE) += fakephp.o
obj-$(CONFIG_HOTPLUG_PCI_COMPAQ) += cpqphp.o
obj-$(CONFIG_HOTPLUG_PCI_IBM) += ibmphp.o
obj-$(CONFIG_HOTPLUG_PCI_ACPI) += acpiphp.o
@@ -16,6 +15,9 @@ obj-$(CONFIG_HOTPLUG_PCI_RPA) += rpaphp.o
obj-$(CONFIG_HOTPLUG_PCI_RPA_DLPAR) += rpadlpar_io.o
obj-$(CONFIG_HOTPLUG_PCI_SGI) += sgi_hotplug.o
+# Link this last so it doesn't claim devices that have a real hotplug driver
+obj-$(CONFIG_HOTPLUG_PCI_FAKE) += fakephp.o
+
pci_hotplug-objs := pci_hotplug_core.o
ifdef CONFIG_HOTPLUG_PCI_CPCI