* [PATCH] fixup! pmdomain: implement pm_genpd_remove/of_genpd_del_provider for cleanup
@ 2024-01-22 12:52 Ahmad Fatoum
2024-01-22 12:55 ` Sascha Hauer
0 siblings, 1 reply; 2+ messages in thread
From: Ahmad Fatoum @ 2024-01-22 12:52 UTC (permalink / raw)
To: barebox; +Cc: Ahmad Fatoum
pmdomain: fix pm_genpd_remove stub definition when !CONFIG_PM_GENERIC_DOMAINS
A stray semicolon breaks CI build when built without generic power
domain support. Remove it.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
include/pm_domain.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/pm_domain.h b/include/pm_domain.h
index f637eb1afa9d..4b7b07b0e43d 100644
--- a/include/pm_domain.h
+++ b/include/pm_domain.h
@@ -69,7 +69,7 @@ static inline int pm_genpd_init(struct generic_pm_domain *genpd,
return -ENOSYS;
}
-static inline int pm_genpd_remove(struct generic_pm_domain *genpd);
+static inline int pm_genpd_remove(struct generic_pm_domain *genpd)
{
return -EOPNOTSUPP;
}
--
2.39.2
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-01-22 12:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-22 12:52 [PATCH] fixup! pmdomain: implement pm_genpd_remove/of_genpd_del_provider for cleanup Ahmad Fatoum
2024-01-22 12:55 ` Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox