diff options
author | Christophe Leroy <christophe.leroy@csgroup.eu> | 2022-03-08 20:20:23 +0100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2022-05-06 00:00:21 +1000 |
commit | 669df99c957561dddf580ec269fb4255c41dabc1 (patch) | |
tree | cbd28aee6b1700f6e5fa48f33452769fa38b5a31 /arch | |
parent | eb4713c40a619046af99586743d48b9b4435d371 (diff) |
powerpc: Add missing declaration in asm/drmem.h
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
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/include/asm/drmem.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/drmem.h b/arch/powerpc/include/asm/drmem.h index 4265d5e95c2c..13bf6dee8e2d 100644 --- 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, |