We so far depended on include order for struct device_d to be declared
before <regulator.h> inclusion. Fix this.

Signed-off-by: Ahmad Fatoum <[email protected]>
---
 include/regulator.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/regulator.h b/include/regulator.h
index a9cb6dedca5e..76325fd96056 100644
--- a/include/regulator.h
+++ b/include/regulator.h
@@ -2,6 +2,8 @@
 #ifndef __REGULATOR_H
 #define __REGULATOR_H
 
+struct device_d;
+
 /* struct regulator is an opaque object for consumers */
 struct regulator;
 
-- 
2.28.0


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

Reply via email to