Skip to contentSkip to conversation

regulator: include suspend.h in machine.h for suspend_state_t

PATCH Applied Philipp Zabel 2 participants 2 messages Jul 11, 2008 – Jul 12, 2008 Voltage and current regulator framework

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 regulator: include suspend.h in machine.h for suspend_state_t

linux/regulator/machine.h shouldn't depend on files including this header to have included linux/suspend.h before.

---
 include/linux/regulator/machine.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
include/linux/regulator/machine.h +1 -0
index 60e6873..bed2b5e 100644
@@ -16,6 +16,7 @@
 #define __LINUX_REGULATOR_MACHINE_H_
 
 #include <linux/regulator/consumer.h>
+#include <linux/suspend.h>
 
 struct regulator;
 
Signature · 1 line
1.5.6.2
#1 lore raw
Quoted 13 lines · Philipp Zabel

linux/regulator/machine.h shouldn't depend on files including this header to have included linux/suspend.h before.

---
 include/linux/regulator/machine.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
include/linux/regulator/machine.h +0 -0
index 60e6873..bed2b5e 100644

include/linux/regulator/machine.h line 22

Quoted 7 lines
include/linux/regulator/machine.h +1 -0
@@ -16,6 +16,7 @@
 #define __LINUX_REGULATOR_MACHINE_H_
 
 #include <linux/regulator/consumer.h>
+#include <linux/suspend.h>
 
 struct regulator;
 

Applied.

Thanks

Liam