[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4F754963.4080104@kernel.org>
Date: Fri, 30 Mar 2012 01:49:23 -0400
From: Len Brown <lenb@...nel.org>
To: Lin Ming <ming.m.lin@...el.com>
CC: "Rafael J. Wysocki" <rjw@...k.pl>,
Alan Stern <stern@...land.harvard.edu>,
linux-acpi@...r.kernel.org, linux-pm@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3 3/3] PM / Runtime: Add may_power_off flag to subsys
data
Why?
-Len
On 03/29/2012 02:09 AM, Lin Ming wrote:
> Parent device will check child's may_power_off flag to see if child device can
> be powered off.
>
> Signed-off-by: Lin Ming <ming.m.lin@...el.com>
> ---
> include/linux/pm.h | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/include/linux/pm.h b/include/linux/pm.h
> index e4982ac..c9953b4 100644
> --- a/include/linux/pm.h
> +++ b/include/linux/pm.h
> @@ -465,6 +465,7 @@ struct pm_subsys_data {
> #ifdef CONFIG_PM_GENERIC_DOMAINS
> struct pm_domain_data *domain_data;
> #endif
> + bool may_power_off;
> };
>
> struct dev_pm_info {
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists