Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1680980

[PATCH 2/2] ARM: pm: add missing types include

From Johan Hovold <johan@kernel.org>
Newsgroups linux.kernel
Subject [PATCH 2/2] ARM: pm: add missing types include
Date 2017-07-04 15:30 +0200
Message-ID <tZw3U-il-21@gated-at.bofh.it> (permalink)
References <tZw3U-il-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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(+)

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;
-- 
2.13.2

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH 2/2] ARM: pm: add missing types include Johan Hovold <johan@kernel.org> - 2017-07-04 15:30 +0200
  Re: [PATCH 2/2] ARM: pm: add missing types include Pavel Machek <pavel@ucw.cz> - 2017-07-05 18:10 +0200

csiph-web