Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

authored by

Christophe Leroy and committed by
Michael Ellerman
669df99c eb4713c4

+3
+3
arch/powerpc/include/asm/drmem.h
··· 23 23 u64 lmb_size; 24 24 }; 25 25 26 + struct device_node; 27 + struct property; 28 + 26 29 extern struct drmem_lmb_info *drmem_info; 27 30 28 31 static inline struct drmem_lmb *drmem_lmb_next(struct drmem_lmb *lmb,