Messages in this thread |  | | | Subject | Re: [PATCH] regulator: include suspend.h in machine.h for suspend_state_t | | From | Liam Girdwood <> | | Date | Sat, 12 Jul 2008 11:06:54 +0100 | |
On Fri, 2008-07-11 at 17:28 +0200, Philipp Zabel wrote:
> linux/regulator/machine.h shouldn't depend on files including this
> header to have included linux/suspend.h before.
>
> Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com>
> ---
> include/linux/regulator/machine.h | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/include/linux/regulator/machine.h b/include/linux/regulator/machine.h
> index 60e6873..bed2b5e 100644
> --- a/include/linux/regulator/machine.h
> +++ b/include/linux/regulator/machine.h
> @@ -16,6 +16,7 @@
> #define __LINUX_REGULATOR_MACHINE_H_
>
> #include <linux/regulator/consumer.h>
> +#include <linux/suspend.h>
>
> struct regulator;
>
Applied.
Thanks
Liam
|  |