Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1615671 > unrolled thread

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

Started byDave Gerlach <d-gerlach@ti.com>
First post2017-04-04 05:00 +0200
Last post2017-04-04 05:00 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH v5 1/5] PM / Domains: Add generic data pointer to genpd data struct Dave Gerlach <d-gerlach@ti.com> - 2017-04-04 05:00 +0200

#1615671 — [PATCH v5 1/5] PM / Domains: Add generic data pointer to genpd data struct

FromDave Gerlach <d-gerlach@ti.com>
Date2017-04-04 05:00 +0200
Subject[PATCH v5 1/5] PM / Domains: Add generic data pointer to genpd data struct
Message-ID<tsmRj-7d2-3@gated-at.bofh.it>
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 <ulf.hansson@linaro.org>
Acked-by: Kevin Hilman <khilman@baylibre.com>
Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
---
 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

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web