[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <201012241508.14169.rjw@sisk.pl>
Date: Fri, 24 Dec 2010 15:08:13 +0100
From: "Rafael J. Wysocki" <rjw@...k.pl>
To: Mark Brown <broonie@...nsource.wolfsonmicro.com>
Cc: Ben Dooks <ben-linux@...ff.org>, Jean Delvare <khali@...ux-fr.org>,
Alan Stern <stern@...land.harvard.edu>,
linux-i2c@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-pm@...ts.linux-foundation.org,
patches@...nsource.wolfsonmicro.com
Subject: Re: [PATCH 1/2] PM: Prototype the pm_generic_ operations
On Monday, December 20, 2010, Mark Brown wrote:
> The pm_generic_ operations are all exported but are not prototyped in any
> header file for direct use. Do so.
>
> Signed-off-by: Mark Brown <broonie@...nsource.wolfsonmicro.com>
Applied to suspend-2.6/linux-next.
Thanks,
Rafael
> ---
> include/linux/pm.h | 7 +++++++
> 1 files changed, 7 insertions(+), 0 deletions(-)
>
> diff --git a/include/linux/pm.h b/include/linux/pm.h
> index 40f3f45..f7b5bed 100644
> --- a/include/linux/pm.h
> +++ b/include/linux/pm.h
> @@ -610,4 +610,11 @@ extern unsigned int pm_flags;
> #define PM_APM 1
> #define PM_ACPI 2
>
> +int pm_generic_suspend(struct device *dev);
> +int pm_generic_resume(struct device *dev);
> +int pm_generic_freeze(struct device *dev);
> +int pm_generic_thaw(struct device *dev);
> +int pm_generic_restore(struct device *dev);
> +int pm_generic_poweroff(struct device *dev);
> +
> #endif /* _LINUX_PM_H */
>
--
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