From bb36b9a7d67c4a1acbda860a6826fba9e9ddd451 Mon Sep 17 00:00:00 2001
From: Simon Glass <sjg@chromium.org>
Date: Mon, 28 Feb 2022 12:08:33 -0700
Subject: [PATCH] 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>
---
 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 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;
 
 /*
-- 
2.39.5