aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Gerlach <[email protected]>2017-04-04 08:51:29 -0700
committerSantosh Shilimkar <[email protected]>2017-04-04 08:51:29 -0700
commita5ea7a0fcbd7376b2c9fcb15fe59fec298c9ce9f (patch)
tree088ee4c3982e880d13c82811e03174d742a0fca5
parent4495c08e84729385774601b5146d51d9e5849f81 (diff)
PM / Domains: Add generic data pointer to genpd data struct
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 <[email protected]> Acked-by: Kevin Hilman <[email protected]> Signed-off-by: Dave Gerlach <[email protected]> Signed-off-by: Santosh Shilimkar <[email protected]>
-rw-r--r--include/linux/pm_domain.h1
1 files changed, 1 insertions, 0 deletions
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