All of lore.kernel.org
 help / color / mirror / Atom feed
From: Johan Hovold <johan@kernel.org>
To: Russell King <linux@armlinux.org.uk>,
	"Rafael J. Wysocki" <rjw@rjwysocki.net>
Cc: Pavel Machek <pavel@ucw.cz>,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org,
	Tony Lindgren <tony@atomide.com>, Dave Gerlach <d-gerlach@ti.com>,
	linux-omap@vger.kernel.org, Johan Hovold <johan@kernel.org>
Subject: [PATCH 2/2] ARM: pm: add missing types include
Date: Tue,  4 Jul 2017 15:25:42 +0200	[thread overview]
Message-ID: <20170704132542.27644-3-johan@kernel.org> (raw)
In-Reply-To: <20170704132542.27644-1-johan@kernel.org>

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

WARNING: multiple messages have this Message-ID (diff)
From: johan@kernel.org (Johan Hovold)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/2] ARM: pm: add missing types include
Date: Tue,  4 Jul 2017 15:25:42 +0200	[thread overview]
Message-ID: <20170704132542.27644-3-johan@kernel.org> (raw)
In-Reply-To: <20170704132542.27644-1-johan@kernel.org>

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

  parent reply	other threads:[~2017-07-04 13:25 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-04 13:25 [PATCH 0/2] ARM: add missing includes to header files Johan Hovold
2017-07-04 13:25 ` Johan Hovold
2017-07-04 13:25 ` Johan Hovold
2017-07-04 13:25 ` [PATCH 1/2] ARM: scu: add missing errno include Johan Hovold
2017-07-04 13:25   ` Johan Hovold
2017-07-04 13:25 ` Johan Hovold [this message]
2017-07-04 13:25   ` [PATCH 2/2] ARM: pm: add missing types include Johan Hovold
2017-07-05 16:01   ` Pavel Machek
2017-07-05 16:01     ` Pavel Machek
2017-07-06 15:16 ` [PATCH 0/2] ARM: add missing includes to header files Russell King - ARM Linux
2017-07-06 15:16   ` Russell King - ARM Linux
2017-07-24 13:01   ` Johan Hovold
2017-07-24 13:01     ` Johan Hovold

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170704132542.27644-3-johan@kernel.org \
    --to=johan@kernel.org \
    --cc=d-gerlach@ti.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=linux@armlinux.org.uk \
    --cc=pavel@ucw.cz \
    --cc=rjw@rjwysocki.net \
    --cc=tony@atomide.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.