diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2020-05-06 14:32:35 +0200 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2020-05-12 22:45:39 +0200 |
commit | 4a470f00e10e3336350ab60ec6c3206177093019 (patch) | |
tree | a6ff524eb108d99aea9e26429416252516835a16 /include/linux/of_reserved_mem.h | |
parent | 081df76a040df3e31e78df4ca9106eb114dabc6a (diff) | |
download | lwn-4a470f00e10e3336350ab60ec6c3206177093019.tar.gz lwn-4a470f00e10e3336350ab60ec6c3206177093019.zip |
of: Make <linux/of_reserved_mem.h> self-contained
<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>
Reviewed-by: Thierry Reding <treding@nvidia.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'include/linux/of_reserved_mem.h')
-rw-r--r-- | include/linux/of_reserved_mem.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/of_reserved_mem.h b/include/linux/of_reserved_mem.h index a1b427ac291b..8216a4156263 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; |