Message ID | 20161019203347.17893-2-d-gerlach@ti.com (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show |
On 19 October 2016 at 22:33, Dave Gerlach <d-gerlach@ti.com> wrote: > 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. > > Signed-off-by: Dave Gerlach <d-gerlach@ti.com> Acked-by: Ulf Hansson <ulf.hansson@linaro.org> Kind regards Uffe > --- > 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 a09fe5c009c8..9c0a897fe605 100644 > --- a/include/linux/pm_domain.h > +++ b/include/linux/pm_domain.h > @@ -105,6 +105,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.9.3 > -- To unsubscribe from this list: send the line "unsubscribe linux-pm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/include/linux/pm_domain.h b/include/linux/pm_domain.h index a09fe5c009c8..9c0a897fe605 100644 --- a/include/linux/pm_domain.h +++ b/include/linux/pm_domain.h @@ -105,6 +105,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
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. Signed-off-by: Dave Gerlach <d-gerlach@ti.com> --- include/linux/pm_domain.h | 1 + 1 file changed, 1 insertion(+)