diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2020-09-28 18:16:38 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2020-09-29 10:26:01 +0200 |
commit | 34df2aff84af0db670c7de4656c2f8c36f9611dd (patch) | |
tree | 93e41efd33ceb40d09b8012bce8175ec7dd505ad /include | |
parent | 8974923296b8938741c8b1161771547b8d11ce56 (diff) | |
download | barebox-34df2aff84af0db670c7de4656c2f8c36f9611dd.tar.gz barebox-34df2aff84af0db670c7de4656c2f8c36f9611dd.tar.xz |
include: regulator.h: forward declare struct device_d
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 <a.fatoum@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/regulator.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/regulator.h b/include/regulator.h index a9cb6dedca..76325fd960 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; |