[PATCH] fixup! pmdomain: implement pm_genpd_remove/of_genpd_del_provider for cleanup
Ahmad Fatoum
a.fatoum at pengutronix.de
Mon Jan 22 04:52:39 PST 2024
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 at 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
More information about the barebox
mailing list