Thread (74 messages) flat view 74 messages, 7 authors, 2018-11-20
STALE2851d

Revision v8 of 7 in this series.

Revisions (7)
  1. v6 [diff vs current]
  2. v7 [diff vs current]
  3. v8 current
  4. v10 [diff vs current]
  5. v11 [diff vs current]
  6. v12 [diff vs current]
  7. v13 [diff vs current]

[PATCH v8 03/26] PM / Domains: Add generic data pointer to genpd_power_state struct

From: Ulf Hansson <hidden>
Date: 2018-06-20 17:29:02
Also in: linux-arm-msm, linux-pm, lkml
Subsystem: generic pm domains, power management core, the rest · Maintainers: Ulf Hansson, "Rafael J. Wysocki", Linus Torvalds

From: Lina Iyer <redacted>

Let's add a data pointer to the genpd_power_state struct, to allow
platforms to store per state specific data.

Cc: Lina Iyer <redacted>
Signed-off-by: Lina Iyer <redacted>
Co-developed-by: Ulf Hansson <redacted>
Signed-off-by: Ulf Hansson <redacted>
---
 include/linux/pm_domain.h | 1 +
 1 file changed, 1 insertion(+)
diff --git a/include/linux/pm_domain.h b/include/linux/pm_domain.h
index 9206a4fef9ac..27fca748344a 100644
--- a/include/linux/pm_domain.h
+++ b/include/linux/pm_domain.h
@@ -44,6 +44,7 @@ struct genpd_power_state {
 	s64 residency_ns;
 	struct fwnode_handle *fwnode;
 	ktime_t idle_time;
+	void *data;
 };
 
 struct genpd_lock_ops;
-- 
2.17.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help