]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
dm: core: Add a required struct declaration
authorSimon Glass <sjg@chromium.org>
Mon, 28 Feb 2022 19:08:33 +0000 (12:08 -0700)
committerTom Rini <trini@konsulko.com>
Wed, 6 Apr 2022 18:03:17 +0000 (14:03 -0400)
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@chromium.org>
include/dm/device-internal.h

index c420726287ee2891fa5432dcb51a20f59f23f0d8..e24b0336409e45b8e60b1a63e303c26fcf1957f3 100644 (file)
@@ -15,6 +15,7 @@
 #include <dm/ofnode.h>
 
 struct device_node;
+struct driver_info;
 struct udevice;
 
 /*