diff mbox series

[12/20] ls1088a: Add missing headers to eth_ls1088aqds.c

Message ID 20231101162824.3755579-12-trini@konsulko.com
State Accepted
Commit 71b68b2d4111cce69fce7b3df3690a38e6e888e5
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 we call sprintf in this file we need to include vsprintf.h in order
to get the function prototype and we need linux/string.h for strcmp.

Signed-off-by: Tom Rini <trini@konsulko.com>
---
 board/freescale/ls1088a/eth_ls1088aqds.c | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/board/freescale/ls1088a/eth_ls1088aqds.c b/board/freescale/ls1088a/eth_ls1088aqds.c
index f62f5fd27450..2fece3a1b09b 100644
--- a/board/freescale/ls1088a/eth_ls1088aqds.c
+++ b/board/freescale/ls1088a/eth_ls1088aqds.c
@@ -3,6 +3,8 @@ 
  * Copyright 2017 NXP
  */
 
+#include <vsprintf.h>
+#include <linux/string.h>
 #include <asm/io.h>
 #include <asm/arch/fsl_serdes.h>
 #include <fsl-mc/fsl_mc.h>