summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2022-02-28 12:08:33 -0700
committerTom Rini <trini@konsulko.com>2022-04-06 14:03:17 -0400
commitbb36b9a7d67c4a1acbda860a6826fba9e9ddd451 (patch)
tree0eb9bb3832b131001ed7115171b09aa4c6b55450 /include
parent09bc3d2eacc31bd36ae092f8bc6795a8b9276192 (diff)
dm: core: Add a required struct declaration
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>
Diffstat (limited to 'include')
-rw-r--r--include/dm/device-internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/dm/device-internal.h b/include/dm/device-internal.h
index c420726287..e24b033640 100644
--- a/include/dm/device-internal.h
+++ b/include/dm/device-internal.h
@@ -15,6 +15,7 @@
#include <dm/ofnode.h>
struct device_node;
+struct driver_info;
struct udevice;
/*