All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1] Documentation: PCI: Update header defining struct pci_device_id
@ 2026-07-06 10:21 Uwe Kleine-König (The Capable Hub)
  2026-07-06 10:28 ` sashiko-bot
  2026-07-06 10:41 ` Uwe Kleine-König (The Capable Hub)
  0 siblings, 2 replies; 3+ messages in thread
From: Uwe Kleine-König (The Capable Hub) @ 2026-07-06 10:21 UTC (permalink / raw)
  To: Bjorn Helgaas, Jonathan Corbet, Linus Torvalds
  Cc: Shuah Khan, linux-pci, linux-doc, linux-kernel

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@baylibre.com>
---
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


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

end of thread, other threads:[~2026-07-06 10:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-06 10:21 [PATCH v1] Documentation: PCI: Update header defining struct pci_device_id Uwe Kleine-König (The Capable Hub)
2026-07-06 10:28 ` sashiko-bot
2026-07-06 10:41 ` Uwe Kleine-König (The Capable Hub)

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.