mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] include: pm_domain.h: make header self-contained
@ 2023-11-09 12:11 Ahmad Fatoum
  2023-11-10 13:17 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Ahmad Fatoum @ 2023-11-09 12:11 UTC (permalink / raw)
  To: barebox; +Cc: Ahmad Fatoum

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>
---
 include/pm_domain.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/include/pm_domain.h b/include/pm_domain.h
index a7e46c86b9cb..ac0ec477b6b1 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 */
-- 
2.39.2




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-11-10 13:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-09 12:11 [PATCH] include: pm_domain.h: make header self-contained Ahmad Fatoum
2023-11-10 13:17 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox