aboutsummaryrefslogtreecommitdiffstats
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 a9d8a6fb48e3..5d2ce72c7a52 100644
--- a/drivers/pci/dwc/Makefile
+++ b/drivers/pci/dwc/Makefile
@@ -25,4 +25,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