mirror of
https://github.com/torvalds/linux.git
synced 2024-12-01 16:41:39 +00:00
b12d0bec38
msi.c is a maze of randomly sorted functions which makes the code unreadable. As a first step split the driver visible API and the internal implementation which also allows proper API documentation via one file. Create drivers/pci/msi/api.c to group all exported device-driver PCI/MSI APIs in one C file. Begin by moving pci_disable_msi() there and add kernel-doc for the function as appropriate. Suggested-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ahmed S. Darwish <darwi@linutronix.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Bjorn Helgaas <bhelgaas@google.com> Link: https://lore.kernel.org/r/20221111122014.696798036@linutronix.de
7 lines
200 B
Makefile
7 lines
200 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# Makefile for the PCI/MSI
|
|
obj-$(CONFIG_PCI) += pcidev_msi.o
|
|
obj-$(CONFIG_PCI_MSI) += api.o msi.o irqdomain.o
|
|
obj-$(CONFIG_PCI_MSI_ARCH_FALLBACKS) += legacy.o
|