[PATCH v2 1/2] common: deep-probe: include of for of_device_id

Fabian Pflug f.pflug at pengutronix.de
Tue Oct 21 03:59:40 PDT 2025


The struct of_device_id is used by deep-probe in its own struct
deep_probe_entry, but never included. It does work, because all files
needing deep-probe currently also include of.h, but that should not be
mandatory.

Signed-off-by: Fabian Pflug <f.pflug at pengutronix.de>
---
 include/deep-probe.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/deep-probe.h b/include/deep-probe.h
index 9ba9d09ec3..d1413f979e 100644
--- a/include/deep-probe.h
+++ b/include/deep-probe.h
@@ -5,6 +5,7 @@
 #include <linux/stringify.h>
 #include <linux/compiler_types.h>
 #include <linux/types.h>
+#include <of.h>
 
 struct deep_probe_entry {
 	const struct of_device_id *device_id;
-- 
2.47.3




More information about the barebox mailing list