From: Uwe Kleine-König (The Capable Hub) Date: Tue, 30 Jun 2026 09:24:22 +0000 (+0200) Subject: driver: core: Include headers for acpi_device_id and of_device_id for struct device_d... X-Git-Tag: v7.2-rc2~18^2~14 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e1da37efb51b46870f7e50ae5e8a03293335bce5;p=thirdparty%2Fkernel%2Flinux.git driver: core: Include headers for acpi_device_id and of_device_id for struct device_driver struct device_driver contains pointers of type struct of_device_id* and struct acpi_device_id* but doesn't ensure these are defined. To make the header self-contained add the (very lightweight) includes that contain the respective definitions. Acked-by: Greg Kroah-Hartman Acked-by: Danilo Krummrich Acked-by: Rafael J. Wysocki (Intel) Acked-by: Takashi Sakamoto Link: https://patch.msgid.link/199ba71b4ac73f4b4d9f5d2be635c96eec73c70e.1782808461.git.u.kleine-koenig@baylibre.com Signed-off-by: Uwe Kleine-König (The Capable Hub) --- diff --git a/include/linux/device/driver.h b/include/linux/device/driver.h index 38048e74d10a..768a1334c0a1 100644 --- a/include/linux/device/driver.h +++ b/include/linux/device/driver.h @@ -19,6 +19,8 @@ #include #include #include +#include +#include /** * enum probe_type - device driver probe type to try