regulator: include suspend.h in machine.h for suspend_state_t
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.
Signed-off-by Philipp Zabel <[email protected]>
--- include/linux/regulator/machine.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
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 ;
Signature · 1 line
1.5.6.2
Liam Girdwood
AppliedQuoted 13 lines · Philipp Zabel
linux/regulator/machine.hshouldn't depend on files including this header to have includedlinux/suspend.hbefore.Signed-off-by Philipp Zabel <[email protected]>--- include/linux/regulator/machine.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)include/linux/regulator/machine.h +0
-0
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