diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/pci/Makefile | 3 | ||||
-rw-r--r-- | drivers/pci/msi/Makefile | 4 | ||||
-rw-r--r-- | drivers/pci/msi/msi.c (renamed from drivers/pci/msi.c) | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/drivers/pci/Makefile b/drivers/pci/Makefile index d62c4ac4ae1b..37be95adf169 100644 --- a/drivers/pci/Makefile +++ b/drivers/pci/Makefile @@ -5,8 +5,9 @@ obj-$(CONFIG_PCI) += access.o bus.o probe.o host-bridge.o \ remove.o pci.o pci-driver.o search.o \ pci-sysfs.o rom.o setup-res.o irq.o vpd.o \ - setup-bus.o vc.o mmap.o setup-irq.o msi.o + setup-bus.o vc.o mmap.o setup-irq.o +obj-$(CONFIG_PCI) += msi/ obj-$(CONFIG_PCI) += pcie/ ifdef CONFIG_PCI diff --git a/drivers/pci/msi/Makefile b/drivers/pci/msi/Makefile new file mode 100644 index 000000000000..79a6013fbc8c --- /dev/null +++ b/drivers/pci/msi/Makefile @@ -0,0 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 +# +# Makefile for the PCI/MSI +obj-$(CONFIG_PCI) += msi.o diff --git a/drivers/pci/msi.c b/drivers/pci/msi/msi.c index 15730910b3cb..00233b0b3e92 100644 --- a/drivers/pci/msi.c +++ b/drivers/pci/msi/msi.c @@ -16,7 +16,7 @@ #include <linux/of_irq.h> #include <linux/pci.h> -#include "pci.h" +#include "../pci.h" #ifdef CONFIG_PCI_MSI |