Skip to content

Commit

Permalink
PM / Domains: Add generic data pointer to genpd data struct
Browse files Browse the repository at this point in the history
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>
Signed-off-by: Santosh Shilimkar <ssantosh@kernel.org>
  • Loading branch information
Dave Gerlach authored and Santosh Shilimkar committed Apr 4, 2017
1 parent 4495c08 commit a5ea7a0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/linux/pm_domain.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a5ea7a0

Please sign in to comment.