[PATCH] regulator: include suspend.h in machine.h forsuspend_state_t

From: Philipp Zabel
Date: Fri Jul 11 2008 - 11:28:37 EST


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@xxxxxxxxx>
---
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


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/