Re: [PATCH v3] Documentation: Update after split of <linux/mod_devicetable.h>
From: Uwe Kleine-König
Date: Wed Oct 28 2026 - 04:04:28 EST
Hello Karl,
On Tue, Sep 15, 2026 at 01:24:29PM -0600, Jonathan Corbet wrote:
> Karl Mehltretter <kmehltretter@xxxxxxxxx> writes:
> > Most structs that were defined in <linux/mod_devicetable.h> before were
> > moved to a bus specific header. Follow the movement to get the struct's
> > documentation back.
> >
> > For the list of device ids in basics.rst use an explicit list of all the
> > headers that have kernel-doc annotations and that are not described
> > elsewhere (i.e. pci and mei_cl). <linux/device-id/acpi.h> is left out on
> > purpose, ACPI_DEVICE_CLASS() is not a device id struct.
> >
> > Also repair the referencing in the zh_CN translation of pci.rst and
> > don't duplicate `struct mei_cl_device_id`.
>
> This one adds some new build warnings:
>
> Documentation/translations/zh_CN/PCI/pci:98: ./include/linux/pci.h:3: WARNING: Duplicate C declaration, also defined at PCI/pci:3.
> Declaration is '.. c:struct:: pci_driver'. [duplicate_declaration.c]
> kernel/Documentation/translations/zh_CN/PCI/pci:106: ./include/linux/device-id/pci.h:3: WARNING: Duplicate C declaration, also defined at PCI/pci:3.
> Declaration is '.. c:struct:: pci_device_id'. [duplicate_declaration.c]
Do you intend to address this?
Best regards
Uwe
Attachment:
signature.asc
Description: PGP signature