diff options
Diffstat (limited to 'drivers/pci/hotplug/Makefile')
-rw-r--r-- | drivers/pci/hotplug/Makefile | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/drivers/pci/hotplug/Makefile b/drivers/pci/hotplug/Makefile index 1c0ed377ed91..421cfffb1756 100644 --- a/drivers/pci/hotplug/Makefile +++ b/drivers/pci/hotplug/Makefile | |||
@@ -22,6 +22,9 @@ ifdef CONFIG_HOTPLUG_PCI_CPCI | |||
22 | pci_hotplug-objs += cpci_hotplug_core.o \ | 22 | pci_hotplug-objs += cpci_hotplug_core.o \ |
23 | cpci_hotplug_pci.o | 23 | cpci_hotplug_pci.o |
24 | endif | 24 | endif |
25 | ifdef CONFIG_ACPI | ||
26 | pci_hotplug-objs += acpi_pcihp.o | ||
27 | endif | ||
25 | 28 | ||
26 | cpqphp-objs := cpqphp_core.o \ | 29 | cpqphp-objs := cpqphp_core.o \ |
27 | cpqphp_ctrl.o \ | 30 | cpqphp_ctrl.o \ |
@@ -51,23 +54,9 @@ pciehp-objs := pciehp_core.o \ | |||
51 | pciehp_ctrl.o \ | 54 | pciehp_ctrl.o \ |
52 | pciehp_pci.o \ | 55 | pciehp_pci.o \ |
53 | pciehp_hpc.o | 56 | pciehp_hpc.o |
54 | ifdef CONFIG_ACPI | ||
55 | pciehp-objs += pciehprm_acpi.o | ||
56 | else | ||
57 | pciehp-objs += pciehprm_nonacpi.o | ||
58 | endif | ||
59 | 57 | ||
60 | shpchp-objs := shpchp_core.o \ | 58 | shpchp-objs := shpchp_core.o \ |
61 | shpchp_ctrl.o \ | 59 | shpchp_ctrl.o \ |
62 | shpchp_pci.o \ | 60 | shpchp_pci.o \ |
63 | shpchp_sysfs.o \ | 61 | shpchp_sysfs.o \ |
64 | shpchp_hpc.o | 62 | shpchp_hpc.o |
65 | ifdef CONFIG_ACPI | ||
66 | shpchp-objs += shpchprm_acpi.o | ||
67 | else | ||
68 | ifdef CONFIG_HOTPLUG_PCI_SHPC_PHPRM_LEGACY | ||
69 | shpchp-objs += shpchprm_legacy.o | ||
70 | else | ||
71 | shpchp-objs += shpchprm_nonacpi.o | ||
72 | endif | ||
73 | endif | ||