Skip to content

Commit 4a470f0

Browse files
geertuthierryreding
authored andcommitted
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 <[email protected]> Reviewed-by: Thierry Reding <[email protected]> Acked-by: Rob Herring <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
1 parent 081df76 commit 4a470f0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/linux/of_reserved_mem.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
#define __OF_RESERVED_MEM_H
44

55
#include <linux/device.h>
6+
#include <linux/of.h>
67

78
struct of_phandle_args;
89
struct reserved_mem_ops;

0 commit comments

Comments
 (0)