Message ID | 20170704132542.27644-3-johan@kernel.org (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show |
On Tue 2017-07-04 15:25:42, Johan Hovold wrote: > Add missing types.h include to make the suspend header self-contained > and avoid compilation breakage due to include-directive ordering. > > Signed-off-by: Johan Hovold <johan@kernel.org> Acked-by: Pavel Machek <pavel@ucw.cz> > +++ b/arch/arm/include/asm/suspend.h > #define __ASM_ARM_SUSPEND_H > > +#include <linux/types.h> > + > struct sleep_save_sp {
diff --git a/arch/arm/include/asm/suspend.h b/arch/arm/include/asm/suspend.h index 6c7182f32cef..a61905c86732 100644 --- a/arch/arm/include/asm/suspend.h +++ b/arch/arm/include/asm/suspend.h @@ -1,6 +1,8 @@ #ifndef __ASM_ARM_SUSPEND_H #define __ASM_ARM_SUSPEND_H +#include <linux/types.h> + struct sleep_save_sp { u32 *save_ptr_stash; u32 save_ptr_stash_phys;
Add missing types.h include to make the suspend header self-contained and avoid compilation breakage due to include-directive ordering. Signed-off-by: Johan Hovold <johan@kernel.org> --- arch/arm/include/asm/suspend.h | 2 ++ 1 file changed, 2 insertions(+)