[PATCH v1] Documentation: PCI: Update header defining struct pci_device_id

From: Uwe Kleine-König (The Capable Hub)

Date: Mon Jul 06 2026 - 06:49:02 EST


The defintion of struct pci_device_id was moved from
<linux/mod_devicetable.h> to a PCI specific header. Follow the movement
to get the struct's documenation back.

Fixes: ad428f5811bd ("mod_devicetable.h: Split into per subsystem headers")
Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@xxxxxxxxxxxx>
---
Hello,

I'm unsure about the best way to apply it. The obvious options are:

- Linus applies it as he also pulled the header split without involving the
PCI tree; or
- it goes in via the pci tree
- it goes in via the documentation tree

The 2nd is probably preferable if there are pending pci fixes for 7.2
anyhow?!

Best regards
UWe

Documentation/PCI/pci.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/PCI/pci.rst b/Documentation/PCI/pci.rst
index be35e9a1ee75..71c42b0bfa8b 100644
--- a/Documentation/PCI/pci.rst
+++ b/Documentation/PCI/pci.rst
@@ -84,7 +84,7 @@ initialization with a pointer to a structure describing the driver
The ID table is an array of ``struct pci_device_id`` entries ending with an
all-zero entry. Definitions with static const are generally preferred.

-.. kernel-doc:: include/linux/mod_devicetable.h
+.. kernel-doc:: include/linux/device-id/pci.h
:functions: pci_device_id

Most drivers only need ``PCI_DEVICE()`` or ``PCI_DEVICE_CLASS()`` to set up

base-commit: 8cdeaa50eae8dad34885515f62559ee83e7e8dda
--
2.55.0.11.g153666a7d9bb