From: Lina Iyer <[email protected]> Let's add a data pointer to the genpd_power_state struct, to allow platforms to store per state specific data.
Cc: Lina Iyer <[email protected]> Signed-off-by: Lina Iyer <[email protected]> Co-developed-by: Ulf Hansson <[email protected]> Signed-off-by: Ulf Hansson <[email protected]> --- 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 04dbef9..55ad34d 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.7.4

