Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1680980 > unrolled thread
| Started by | Johan Hovold <johan@kernel.org> |
|---|---|
| First post | 2017-07-04 15:30 +0200 |
| Last post | 2017-07-05 18:10 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
[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
| From | Johan Hovold <johan@kernel.org> |
|---|---|
| Date | 2017-07-04 15:30 +0200 |
| Subject | [PATCH 2/2] ARM: pm: add missing types include |
| Message-ID | <tZw3U-il-21@gated-at.bofh.it> |
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
[toc] | [next] | [standalone]
| From | Pavel Machek <pavel@ucw.cz> |
|---|---|
| Date | 2017-07-05 18:10 +0200 |
| Message-ID | <tZV2j-8vO-41@gated-at.bofh.it> |
| In reply to | #1680980 |
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 {
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web