Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
[sfrench/cifs-2.6.git] / drivers / pci / Makefile
1 # SPDX-License-Identifier: GPL-2.0
2 #
3 # Makefile for the PCI bus specific drivers.
4 #
5
6 obj-y           += access.o bus.o probe.o host-bridge.o remove.o pci.o \
7                         pci-driver.o search.o pci-sysfs.o rom.o setup-res.o \
8                         irq.o vpd.o setup-bus.o vc.o mmap.o setup-irq.o
9
10 obj-$(CONFIG_PROC_FS) += proc.o
11 obj-$(CONFIG_SYSFS) += slot.o
12
13 obj-$(CONFIG_PCI_QUIRKS) += quirks.o
14
15 # Build PCI Express stuff if needed
16 obj-$(CONFIG_PCIEPORTBUS) += pcie/
17
18 # Build the PCI Hotplug drivers if we were asked to
19 obj-$(CONFIG_HOTPLUG_PCI) += hotplug/
20
21 # Build the PCI MSI interrupt support
22 obj-$(CONFIG_PCI_MSI) += msi.o
23
24 obj-$(CONFIG_PCI_ATS) += ats.o
25 obj-$(CONFIG_PCI_IOV) += iov.o
26
27 #
28 # ACPI Related PCI FW Functions
29 # ACPI _DSM provided firmware instance and string name
30 #
31 obj-$(CONFIG_ACPI)    += pci-acpi.o
32
33 # SMBIOS provided firmware instance and labels
34 obj-$(CONFIG_PCI_LABEL) += pci-label.o
35
36 # Intel MID platform PM support
37 obj-$(CONFIG_X86_INTEL_MID) += pci-mid.o
38
39 obj-$(CONFIG_PCI_SYSCALL) += syscall.o
40
41 obj-$(CONFIG_PCI_STUB) += pci-stub.o
42
43 obj-$(CONFIG_PCI_ECAM) += ecam.o
44
45 obj-$(CONFIG_XEN_PCIDEV_FRONTEND) += xen-pcifront.o
46
47 obj-$(CONFIG_OF) += of.o
48
49 ccflags-$(CONFIG_PCI_DEBUG) := -DDEBUG
50
51 # PCI host controller drivers
52 obj-y += host/
53 obj-y += switch/