summaryrefslogtreecommitdiffstats
path: root/drivers/pci/pcie/aer/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pci/pcie/aer/Makefile')
-rw-r--r--drivers/pci/pcie/aer/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/pci/pcie/aer/Makefile b/drivers/pci/pcie/aer/Makefile
index 15a4f40d520..8da3bd8455a 100644
--- a/drivers/pci/pcie/aer/Makefile
+++ b/drivers/pci/pcie/aer/Makefile
@@ -4,5 +4,6 @@
obj-$(CONFIG_PCIEAER) += aerdriver.o
-aerdriver-objs := aerdrv_errprint.o aerdrv_core.o aerdrv.o aerdrv_acpi.o
+aerdriver-objs := aerdrv_errprint.o aerdrv_core.o aerdrv.o
+aerdriver-$(CONFIG_ACPI) += aerdrv_acpi.o