From: Geert Uytterhoeven <geert+renesas@glider.be>
To: Thierry Reding <thierry.reding@gmail.com>,
Jonathan Hunter <jonathanh@nvidia.com>,
Rob Herring <robh+dt@kernel.org>,
Frank Rowand <frowand.list@gmail.com>,
Joseph Lo <josephl@nvidia.com>
Cc: linux-tegra@vger.kernel.org, devicetree@vger.kernel.org,
linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org,
Geert Uytterhoeven <geert+renesas@glider.be>
Subject: [PATCH 1/2] of: Make <linux/of_reserved_mem.h> self-contained
Date: Wed, 6 May 2020 14:32:35 +0200 [thread overview]
Message-ID: <20200506123236.7463-2-geert+renesas@glider.be> (raw)
In-Reply-To: <20200506123236.7463-1-geert+renesas@glider.be>
<linux/of_reserved_mem.h> is not self-contained, as it uses
_OF_DECLARE() to define RESERVEDMEM_OF_DECLARE(), but does not include
<linux/of.h>.
Fix this by adding the missing include.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
include/linux/of_reserved_mem.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/linux/of_reserved_mem.h b/include/linux/of_reserved_mem.h
index a1b427ac291bf73d..8216a415626372ca 100644
--- a/include/linux/of_reserved_mem.h
+++ b/include/linux/of_reserved_mem.h
@@ -3,6 +3,7 @@
#define __OF_RESERVED_MEM_H
#include <linux/device.h>
+#include <linux/of.h>
struct of_phandle_args;
struct reserved_mem_ops;
--
2.17.1
next prev parent reply other threads:[~2020-05-06 12:32 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-06 12:32 [PATCH 0/2] memory: tegra: EMC scaling is not a clock provider Geert Uytterhoeven
2020-05-06 12:32 ` Geert Uytterhoeven [this message]
2020-05-07 20:04 ` [PATCH 1/2] of: Make <linux/of_reserved_mem.h> self-contained Thierry Reding
2020-05-12 21:15 ` Stephen Boyd
2020-05-06 12:32 ` [PATCH 2/2] memory: tegra: Drop <linux/clk-provider.h> Geert Uytterhoeven
2020-05-07 20:04 ` Thierry Reding
2020-06-15 8:39 ` Geert Uytterhoeven
2020-05-12 21:15 ` Stephen Boyd
2020-05-07 20:07 ` [PATCH 0/2] memory: tegra: EMC scaling is not a clock provider Thierry Reding
2020-05-11 17:17 ` Rob Herring
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=20200506123236.7463-2-geert+renesas@glider.be \
--to=geert+renesas@glider.be \
--cc=devicetree@vger.kernel.org \
--cc=frowand.list@gmail.com \
--cc=jonathanh@nvidia.com \
--cc=josephl@nvidia.com \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tegra@vger.kernel.org \
--cc=robh+dt@kernel.org \
--cc=thierry.reding@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).