linux-stable/Documentation/driver-api/pci
Philipp Stanner acc2364fe6 PCI: Move PCI-specific devres code to drivers/pci/
The pcim_*() functions in lib/devres.c are guarded by an #ifdef CONFIG_PCI
and, thus, don't belong to this file. They are only ever used for PCI and
are not generic infrastructure.

Move all pcim_*() functions in lib/devres.c to drivers/pci/devres.c.
Adjust the Makefile.

Add drivers/pci/devres.c to Documentation.

Link: https://lore.kernel.org/r/20240131090023.12331-4-pstanner@redhat.com
Suggested-by: Danilo Krummrich <dakr@redhat.com>
Signed-off-by: Philipp Stanner <pstanner@redhat.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
2024-02-12 10:36:17 -06:00
..
index.rst docs: driver-api: properly format ToC headings 2023-11-17 13:05:26 -07:00
p2pdma.rst PCI/P2PDMA: Remove reference to pci_p2pdma_map_sg() 2023-11-20 16:05:29 -06:00
pci.rst PCI: Move PCI-specific devres code to drivers/pci/ 2024-02-12 10:36:17 -06:00