diff mbox series

[14/20] fsl-mc: Add prototype for bd_info

Message ID 20231101162824.3755579-14-trini@konsulko.com
State Accepted
Commit 678be88bbe5c808bc5c00e86a133ce5dec101517
Delegated to: Tom Rini
Headers show
Series [01/20] m68k: Remove CONFIG_FSLDMAFEC | expand

Commit Message

Tom Rini Nov. 1, 2023, 4:28 p.m. UTC
As the functions fsl_mc_ldpaa_init/fsl_mc_ldpaa_exit take a bd_info as
an argument, add a struct bd_info to this header file rather than add
<asm/u-boot.h> to the overall chain.

Signed-off-by: Tom Rini <trini@konsulko.com>
---
 include/fsl-mc/fsl_mc.h | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/include/fsl-mc/fsl_mc.h b/include/fsl-mc/fsl_mc.h
index 258738dfc8c2..de2bba93ecf4 100644
--- a/include/fsl-mc/fsl_mc.h
+++ b/include/fsl-mc/fsl_mc.h
@@ -10,6 +10,8 @@ 
 #include <common.h>
 #include <linux/bitops.h>
 
+struct bd_info;
+
 #define MC_CCSR_BASE_ADDR \
 	((struct mc_ccsr_registers __iomem *)0x8340000)