diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2023-11-09 13:11:08 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2023-11-21 08:47:38 +0100 |
commit | cba0cbdb3fbfb7b495a938a7fbeae8813e00ed91 (patch) | |
tree | 5d1ab34e4f29426ad9ea5b4ce85fe7021e95082e /include/pm_domain.h | |
parent | 8272d7e4f820e58e0f925e70a7cba874109d2cec (diff) | |
download | barebox-cba0cbdb3fbfb7b495a938a7fbeae8813e00ed91.tar.gz barebox-cba0cbdb3fbfb7b495a938a7fbeae8813e00ed91.tar.xz |
include: pm_domain.h: make header self-contained
pm_domain.h so far included no headers and only worked, because it was
included in a "correct" order in other files. Fix this by including the
header it depends on.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.barebox.org/20231109121108.1475657-1-a.fatoum@pengutronix.de
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/pm_domain.h')
-rw-r--r-- | include/pm_domain.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/pm_domain.h b/include/pm_domain.h index d297053531..d2ca611703 100644 --- a/include/pm_domain.h +++ b/include/pm_domain.h @@ -3,6 +3,9 @@ #ifndef _PM_DOMAIN_H #define _PM_DOMAIN_H +#include <linux/list.h> +#include <of.h> + enum gpd_status { GPD_STATE_ACTIVE = 0, /* PM domain is active */ GPD_STATE_POWER_OFF, /* PM domain is off */ |