[PATCH] fixup! pmdomain: implement pm_genpd_remove/of_genpd_del_provider for cleanup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx>
---
 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





[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux