1
linux/Documentation/driver-api/pci/pci.rst
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

54 lines
906 B
ReStructuredText

PCI Support Library
-------------------
.. kernel-doc:: drivers/pci/pci.c
:export:
.. kernel-doc:: drivers/pci/iomap.c
:export:
.. kernel-doc:: drivers/pci/devres.c
:export:
.. kernel-doc:: drivers/pci/pci-driver.c
:export:
.. kernel-doc:: drivers/pci/remove.c
:export:
.. kernel-doc:: drivers/pci/search.c
:export:
.. kernel-doc:: drivers/pci/msi/msi.c
:export:
.. kernel-doc:: drivers/pci/bus.c
:export:
.. kernel-doc:: drivers/pci/access.c
:export:
.. kernel-doc:: drivers/pci/irq.c
:export:
.. kernel-doc:: drivers/pci/probe.c
:export:
.. kernel-doc:: drivers/pci/slot.c
:export:
.. kernel-doc:: drivers/pci/rom.c
:export:
.. kernel-doc:: drivers/pci/iov.c
:export:
.. kernel-doc:: drivers/pci/pci-sysfs.c
:internal:
PCI Hotplug Support Library
---------------------------
.. kernel-doc:: drivers/pci/hotplug/pci_hotplug_core.c
:export: