* [PATCH] regulator: include suspend.h in machine.h for suspend_state_t
@ 2008-07-11 15:28 Philipp Zabel
2008-07-12 10:06 ` Liam Girdwood
0 siblings, 1 reply; 2+ messages in thread
From: Philipp Zabel @ 2008-07-11 15:28 UTC (permalink / raw)
To: Liam Girdwood; +Cc: LKML, Mark Brown
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;
--
1.5.6.2
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] regulator: include suspend.h in machine.h for suspend_state_t
2008-07-11 15:28 [PATCH] regulator: include suspend.h in machine.h for suspend_state_t Philipp Zabel
@ 2008-07-12 10:06 ` Liam Girdwood
0 siblings, 0 replies; 2+ messages in thread
From: Liam Girdwood @ 2008-07-12 10:06 UTC (permalink / raw)
To: Philipp Zabel; +Cc: LKML, Mark Brown
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-07-12 10:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-11 15:28 [PATCH] regulator: include suspend.h in machine.h for suspend_state_t Philipp Zabel
2008-07-12 10:06 ` Liam Girdwood
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome