[PATCH v4 2/2] docs/zh_CN: PCI: Update the pci_device_id header reference
#ProposedFrom:Karl Mehltretter <kmehltretter@gmail.com>
Date:
Message-ID:<203f4407e5ed5335cda17a74fa6aeac311a572d5.1793221199.git.kmehltretter@gmail.com>
Patch:v4 · 2/2
Language:zh_CN
Patch-ID:777486c7c520f36268faa6be8cbe244dba2b4a82
Files:
Documentation/translations/zh_CN/PCI/pci.rstLinks:lore message ↗ · raw mail ↗
Patch content 1 changed file
struct pci_device_id moved from <linux/mod_devicetable.h> to<linux/device-id/pci.h>. Update the header reference in the Chinese PCIguide to match its new location. Fixes: ad428f5811bd ("mod_devicetable.h: Split into per subsystem headers")Assisted-by: LLMSigned-off-by: Karl Mehltretter <kmehltretter@gmail.com>--- Documentation/translations/zh_CN/PCI/pci.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/translations/zh_CN/PCI/pci.rst b/Documentation/translations/zh_CN/PCI/pci.rstindex 347f5c3f5ce99bade1221f083b208972baf102ec..452e073b8c067ce16c76d9a5a5883532ebce3296 100644--- a/Documentation/translations/zh_CN/PCI/pci.rst+++ b/Documentation/translations/zh_CN/PCI/pci.rst@@ -92,7 +92,7 @@ ID表是一个由 ``struct pci_device_id`` 结构体成员组成的数组,以 该API在以下内核代码中: -include/linux/mod_devicetable.h+include/linux/device-id/pci.h pci_device_id 大多数驱动程序只需要 ``PCI_DEVICE()`` 或 ``PCI_DEVICE_CLASS()`` 来设置一个