Linux PCI subsystem development
 help / color / mirror / Atom feed
* [PATCH] Documentation: PCI: Point the pci_device_id kernel-doc at device-id/pci.h
@ 2026-09-05  8:49 Karl Mehltretter
  2026-09-05  8:57 ` sashiko-bot
  2026-09-05 11:21 ` Uwe Kleine-König
  0 siblings, 2 replies; 4+ messages in thread
From: Karl Mehltretter @ 2026-09-05  8:49 UTC (permalink / raw)
  To: Bjorn Helgaas
  Cc: Karl Mehltretter, linux-pci, Jonathan Corbet, linux-doc,
	Shuah Khan, Randy Dunlap, Uwe Kleine-König

pci.rst pulls the description of struct pci_device_id from
include/linux/mod_devicetable.h. Commit ad428f5811bd
("mod_devicetable.h: Split into per subsystem headers") moved the
structure and its kernel-doc comment to include/linux/device-id/pci.h.
Since then the directive finds nothing and the rendered page no longer
shows the structure.

Point the directive at the new header.

Fixes: ad428f5811bd ("mod_devicetable.h: Split into per subsystem headers")
Assisted-by: LLM
Signed-off-by: Karl Mehltretter <kmehltretter@gmail.com>
---
 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
-- 
2.53.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-09-05 13:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-05  8:49 [PATCH] Documentation: PCI: Point the pci_device_id kernel-doc at device-id/pci.h Karl Mehltretter
2026-09-05  8:57 ` sashiko-bot
2026-09-05 11:21 ` Uwe Kleine-König
2026-09-05 13:52   ` Karl Mehltretter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox