Thread (19 messages) 19 messages, 6 authors, 2017-04-03
STALE3352d REVIEWED: 1 (0M)
Revisions (4)
  1. v2 [diff vs current]
  2. v3 [diff vs current]
  3. v4 current
  4. v5 [diff vs current]

[PATCH v4 1/5] PM / Domains: Add generic data pointer to genpd data struct

From: Dave Gerlach <hidden>
Date: 2017-03-07 14:00:23
Also in: linux-devicetree, linux-pm, lkml
Subsystem: generic pm domains, power management core, the rest · Maintainers: Ulf Hansson, "Rafael J. Wysocki", Linus Torvalds

Add a void *data pointer to struct generic_pm_domain_data. Because this
exists for each device associated with a genpd it will allow us to
assign per-device data if needed on a platform for control of that
specific device.

Acked-by: Ulf Hansson <redacted>
Signed-off-by: Dave Gerlach <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 5339ed5bd6f9..b213d22daefd 100644
--- a/include/linux/pm_domain.h
+++ b/include/linux/pm_domain.h
@@ -117,6 +117,7 @@ struct generic_pm_domain_data {
 	struct pm_domain_data base;
 	struct gpd_timing_data td;
 	struct notifier_block nb;
+	void *data;
 };
 
 #ifdef CONFIG_PM_GENERIC_DOMAINS
-- 
2.11.0
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help