PCI/MSI: Move code into a separate directory
msi.c is getting larger and really could do with a splitup. Move it into its own directory to prepare for that. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Tested-by: Juergen Gross <jgross@suse.com> Reviewed-by: Jason Gunthorpe <jgg@nvidia.com> Acked-by: Bjorn Helgaas <bhelgaas@google.com> Link: https://lore.kernel.org/r/20211206210224.655043033@linutronix.de
This commit is contained in:
Родитель
7112158d97
Коммит
288c81ce4b
|
@ -13,7 +13,7 @@ PCI Support Library
|
||||||
.. kernel-doc:: drivers/pci/search.c
|
.. kernel-doc:: drivers/pci/search.c
|
||||||
:export:
|
:export:
|
||||||
|
|
||||||
.. kernel-doc:: drivers/pci/msi.c
|
.. kernel-doc:: drivers/pci/msi/msi.c
|
||||||
:export:
|
:export:
|
||||||
|
|
||||||
.. kernel-doc:: drivers/pci/bus.c
|
.. kernel-doc:: drivers/pci/bus.c
|
||||||
|
|
|
@ -5,8 +5,9 @@
|
||||||
obj-$(CONFIG_PCI) += access.o bus.o probe.o host-bridge.o \
|
obj-$(CONFIG_PCI) += access.o bus.o probe.o host-bridge.o \
|
||||||
remove.o pci.o pci-driver.o search.o \
|
remove.o pci.o pci-driver.o search.o \
|
||||||
pci-sysfs.o rom.o setup-res.o irq.o vpd.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/
|
obj-$(CONFIG_PCI) += pcie/
|
||||||
|
|
||||||
ifdef CONFIG_PCI
|
ifdef CONFIG_PCI
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
# SPDX-License-Identifier: GPL-2.0
|
||||||
|
#
|
||||||
|
# Makefile for the PCI/MSI
|
||||||
|
obj-$(CONFIG_PCI) += msi.o
|
|
@ -16,7 +16,7 @@
|
||||||
#include <linux/of_irq.h>
|
#include <linux/of_irq.h>
|
||||||
#include <linux/pci.h>
|
#include <linux/pci.h>
|
||||||
|
|
||||||
#include "pci.h"
|
#include "../pci.h"
|
||||||
|
|
||||||
#ifdef CONFIG_PCI_MSI
|
#ifdef CONFIG_PCI_MSI
|
||||||
|
|
Загрузка…
Ссылка в новой задаче