[PATCH 16/18] dm: core: Add a required struct declaration

Simon Glass sjg at chromium.org
Mon Feb 28 20:08:33 CET 2022


This file uses struct driver, so declare it at the top in case the
header-inclusion order is not as expected.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 include/dm/device-internal.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/dm/device-internal.h b/include/dm/device-internal.h
index 02002acb78..46ae0e1f1f 100644
--- a/include/dm/device-internal.h
+++ b/include/dm/device-internal.h
@@ -14,6 +14,7 @@
 #include <dm/ofnode.h>
 
 struct device_node;
+struct driver_info;
 struct udevice;
 
 /*
-- 
2.35.1.574.g5d30c73bfb-goog



More information about the U-Boot mailing list