Re: [PATCH v2 12/17] usb: dwc2: Add include defining struct pci_device_id

From: Greg Kroah-Hartman

Date: Fri Jun 26 2026 - 14:24:37 EST


On Fri, Jun 26, 2026 at 08:00:31PM +0200, Uwe Kleine-König (The Capable Hub) wrote:
> Up to now <linux/acpi.h> includes <linux/mod_devicetable.h> that
> provides struct pci_device_id. However <linux/mod_devicetable.h> was
> split into per bus headers and <linux/acpi.h> will only include the acpi
> related one (and similar for other bus headers).
>
> As struct pci_device_id is used in drivers/usb/dwc2/core.h, add an
> include to ensure it's defined also after the includes in <linux/acpi.h>
> are tightened.
>
> Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@xxxxxxxxxxxx>

Acked-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>