diff mbox series

[3/3] spl: Add prototype to function spl_board_boot_device()

Message ID 20200114185501.4993-3-alifer.wsdm@gmail.com
State Accepted
Commit 40eeb9c412572b8f7adf6155d5e6f4ef138fd376
Headers show
Series [1/3] imx8m: clock_imx8mm: Staticize functions | expand

Commit Message

Alifer Moraes Jan. 14, 2020, 6:55 p.m. UTC
Add prototype to function spl_board_boot_device to fix the following
sparse warning:

board/freescale/imx8mm_evk/spl.c:26:5: warning: no previous prototype
for ‘spl_board_boot_device’ [-Wmissing-prototypes]

Signed-off-by: Alifer Moraes <alifer.wsdm at gmail.com>
---
 include/spl.h | 1 +
 1 file changed, 1 insertion(+)

Comments

Stefano Babic Jan. 20, 2020, 8:17 p.m. UTC | #1
> Add prototype to function spl_board_boot_device to fix the following
> sparse warning:
> board/freescale/imx8mm_evk/spl.c:26:5: warning: no previous prototype
> for ‘spl_board_boot_device’ [-Wmissing-prototypes]
> Signed-off-by: Alifer Moraes <alifer.wsdm at gmail.com>
Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic
diff mbox series

Patch

diff --git a/include/spl.h b/include/spl.h
index 02aa1ff85d..8a311fefad 100644
--- a/include/spl.h
+++ b/include/spl.h
@@ -269,6 +269,7 @@  int spl_parse_image_header(struct spl_image_info *spl_image,
 void spl_board_prepare_for_linux(void);
 void spl_board_prepare_for_boot(void);
 int spl_board_ubi_load_image(u32 boot_device);
+int spl_board_boot_device(u32 boot_device);
 
 /**
  * jump_to_image_linux() - Jump to a Linux kernel from SPL