mirror of
https://github.com/torvalds/linux.git
synced 2026-07-27 09:36:22 +02:00
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 <gregkh@linuxfoundation.org> Acked-by: Danilo Krummrich <dakr@kernel.org> Acked-by: Rafael J. Wysocki (Intel) <rafael@kernel.org> Acked-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Link: https://patch.msgid.link/199ba71b4ac73f4b4d9f5d2be635c96eec73c70e.1782808461.git.u.kleine-koenig@baylibre.com Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com>
This commit is contained in:
parent
1b44cfa834
commit
e1da37efb5
|
|
@ -19,6 +19,8 @@
|
|||
#include <linux/pm.h>
|
||||
#include <linux/device/bus.h>
|
||||
#include <linux/module.h>
|
||||
#include <linux/device-id/acpi.h>
|
||||
#include <linux/device-id/of.h>
|
||||
|
||||
/**
|
||||
* enum probe_type - device driver probe type to try
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user