projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb4713c
)
powerpc: Add missing declaration in asm/drmem.h
author
Christophe Leroy
<christophe.leroy@csgroup.eu>
Tue, 8 Mar 2022 19:20:23 +0000
(20:20 +0100)
committer
Michael Ellerman
<mpe@ellerman.id.au>
Thu, 5 May 2022 14:00:21 +0000
(
00:00
+1000)
Don't rely on random inclusion of linux/of.h by users
of asm/drmem.h
Add a forward declaration of struct property and
struct device_node.
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link:
https://lore.kernel.org/r/5643ec410e51b749db0636471cb7979524f9ed0e.1646767214.git.christophe.leroy@csgroup.eu
arch/powerpc/include/asm/drmem.h
patch
|
blob
|
history
diff --git
a/arch/powerpc/include/asm/drmem.h
b/arch/powerpc/include/asm/drmem.h
index 4265d5e95c2c0a620912316eed5341beaf5e7190..13bf6dee8e2d478b61bacbadb55e1b2b215f8e2a 100644
(file)
--- a/
arch/powerpc/include/asm/drmem.h
+++ b/
arch/powerpc/include/asm/drmem.h
@@
-23,6
+23,9
@@
struct drmem_lmb_info {
u64 lmb_size;
};
+struct device_node;
+struct property;
+
extern struct drmem_lmb_info *drmem_info;
static inline struct drmem_lmb *drmem_lmb_next(struct drmem_lmb *lmb,