Message ID | 1415950892-4213-1-git-send-email-ulf.hansson@linaro.org |
---|---|
State | Accepted |
Commit | 00e7c295968d74f4dbb00aef8334fafe788e3c89 |
Headers | show |
On Friday, November 14, 2014 08:41:32 AM Ulf Hansson wrote: > The definition of the struct pm_domain_data better belongs in the > header for the PM domains, let's move it there. > > Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Queued up for 3.19, thanks! > --- > include/linux/pm.h | 6 +----- > include/linux/pm_domain.h | 5 +++++ > 2 files changed, 6 insertions(+), 5 deletions(-) > > diff --git a/include/linux/pm.h b/include/linux/pm.h > index 383fd68..45e3e78 100644 > --- a/include/linux/pm.h > +++ b/include/linux/pm.h > @@ -538,11 +538,7 @@ enum rpm_request { > }; > > struct wakeup_source; > - > -struct pm_domain_data { > - struct list_head list_node; > - struct device *dev; > -}; > +struct pm_domain_data; > > struct pm_subsys_data { > spinlock_t lock; > diff --git a/include/linux/pm_domain.h b/include/linux/pm_domain.h > index 2e0e06d..9d254e2 100644 > --- a/include/linux/pm_domain.h > +++ b/include/linux/pm_domain.h > @@ -100,6 +100,11 @@ struct gpd_timing_data { > bool cached_stop_ok; > }; > > +struct pm_domain_data { > + struct list_head list_node; > + struct device *dev; > +}; > + > struct generic_pm_domain_data { > struct pm_domain_data base; > struct gpd_timing_data td; >
diff --git a/include/linux/pm.h b/include/linux/pm.h index 383fd68..45e3e78 100644 --- a/include/linux/pm.h +++ b/include/linux/pm.h @@ -538,11 +538,7 @@ enum rpm_request { }; struct wakeup_source; - -struct pm_domain_data { - struct list_head list_node; - struct device *dev; -}; +struct pm_domain_data; struct pm_subsys_data { spinlock_t lock; diff --git a/include/linux/pm_domain.h b/include/linux/pm_domain.h index 2e0e06d..9d254e2 100644 --- a/include/linux/pm_domain.h +++ b/include/linux/pm_domain.h @@ -100,6 +100,11 @@ struct gpd_timing_data { bool cached_stop_ok; }; +struct pm_domain_data { + struct list_head list_node; + struct device *dev; +}; + struct generic_pm_domain_data { struct pm_domain_data base; struct gpd_timing_data td;
The definition of the struct pm_domain_data better belongs in the header for the PM domains, let's move it there. Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> --- include/linux/pm.h | 6 +----- include/linux/pm_domain.h | 5 +++++ 2 files changed, 6 insertions(+), 5 deletions(-)