summaryrefslogtreecommitdiff
path: root/drivers/pci/dwc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pci/dwc/Makefile')
-rw-r--r--drivers/pci/dwc/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/pci/dwc/Makefile b/drivers/pci/dwc/Makefile
index 41ba499c96ee..cb35e45cd186 100644
--- a/drivers/pci/dwc/Makefile
+++ b/drivers/pci/dwc/Makefile
@@ -27,4 +27,6 @@ obj-$(CONFIG_PCIE_HISI_STB) += pcie-histb.o
# ARM64 and use internal ifdefs to only build the pieces we need
# depending on whether ACPI, the DT driver, or both are enabled.
+ifdef CONFIG_PCI
obj-$(CONFIG_ARM64) += pcie-hisi.o
+endif