Merge tag 'mtd/fixes-for-6.6-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git...
[platform/kernel/linux-starfive.git] / drivers / pci / Makefile
1 # SPDX-License-Identifier: GPL-2.0
2 #
3 # Makefile for the PCI bus specific drivers.
4
5 obj-$(CONFIG_PCI)               += access.o bus.o probe.o host-bridge.o \
6                                    remove.o pci.o pci-driver.o search.o \
7                                    pci-sysfs.o rom.o setup-res.o irq.o vpd.o \
8                                    setup-bus.o vc.o mmap.o setup-irq.o
9
10 obj-$(CONFIG_PCI)               += msi/
11 obj-$(CONFIG_PCI)               += pcie/
12
13 ifdef CONFIG_PCI
14 obj-$(CONFIG_PROC_FS)           += proc.o
15 obj-$(CONFIG_SYSFS)             += slot.o
16 obj-$(CONFIG_ACPI)              += pci-acpi.o
17 endif
18
19 obj-$(CONFIG_OF)                += of.o
20 obj-$(CONFIG_PCI_QUIRKS)        += quirks.o
21 obj-$(CONFIG_HOTPLUG_PCI)       += hotplug/
22 obj-$(CONFIG_PCI_ATS)           += ats.o
23 obj-$(CONFIG_PCI_IOV)           += iov.o
24 obj-$(CONFIG_PCI_BRIDGE_EMUL)   += pci-bridge-emul.o
25 obj-$(CONFIG_PCI_LABEL)         += pci-label.o
26 obj-$(CONFIG_X86_INTEL_MID)     += pci-mid.o
27 obj-$(CONFIG_PCI_SYSCALL)       += syscall.o
28 obj-$(CONFIG_PCI_STUB)          += pci-stub.o
29 obj-$(CONFIG_PCI_PF_STUB)       += pci-pf-stub.o
30 obj-$(CONFIG_PCI_ECAM)          += ecam.o
31 obj-$(CONFIG_PCI_P2PDMA)        += p2pdma.o
32 obj-$(CONFIG_XEN_PCIDEV_FRONTEND) += xen-pcifront.o
33 obj-$(CONFIG_VGA_ARB)           += vgaarb.o
34 obj-$(CONFIG_PCI_DOE)           += doe.o
35 obj-$(CONFIG_PCI_DYNAMIC_OF_NODES) += of_property.o
36
37 # Endpoint library must be initialized before its users
38 obj-$(CONFIG_PCI_ENDPOINT)      += endpoint/
39
40 obj-y                           += controller/
41 obj-y                           += switch/
42
43 subdir-ccflags-$(CONFIG_PCI_DEBUG) := -DDEBUG