projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09bc3d2
)
dm: core: Add a required struct declaration
author
Simon Glass
<sjg@chromium.org>
Mon, 28 Feb 2022 19:08:33 +0000
(12:08 -0700)
committer
Tom 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
patch
|
blob
|
history
diff --git
a/include/dm/device-internal.h
b/include/dm/device-internal.h
index
c420726
..
e24b033
100644
(file)
--- 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;
/*