From: Alifer Moraes <alifer.wsdm@gmail.com>
To: u-boot@lists.denx.de
Subject: [PATCH 3/3] spl: Add prototype to function spl_board_boot_device()
Date: Tue, 14 Jan 2020 15:55:01 -0300 [thread overview]
Message-ID: <20200114185501.4993-3-alifer.wsdm@gmail.com> (raw)
In-Reply-To: <20200114185501.4993-1-alifer.wsdm@gmail.com>
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@gmail.com>
---
include/spl.h | 1 +
1 file changed, 1 insertion(+)
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
--
2.17.1
next prev parent reply other threads:[~2020-01-14 18:55 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-14 18:54 [PATCH 1/3] imx8m: clock_imx8mm: Staticize functions Alifer Moraes
2020-01-14 18:55 ` [PATCH 2/3] mx8mm_evk: spl: " Alifer Moraes
2020-01-20 20:18 ` sbabic at denx.de
2020-01-14 18:55 ` Alifer Moraes [this message]
2020-01-20 20:17 ` [PATCH 3/3] spl: Add prototype to function spl_board_boot_device() sbabic at denx.de
2020-01-20 20:18 ` [PATCH 1/3] imx8m: clock_imx8mm: Staticize functions sbabic at denx.de
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200114185501.4993-3-alifer.wsdm@gmail.com \
--to=alifer.wsdm@gmail.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox