diff options
author | Pedro Jardim <jardim.c.pedro@gmail.com> | 2020-01-23 10:20:51 -0300 |
---|---|---|
committer | Lukasz Majewski <lukma@denx.de> | 2020-01-26 21:57:08 +0100 |
commit | 953d02f0016c7c8781d697c21013a967a200bfbf (patch) | |
tree | b8ac8558df49cf29ce5578608450c39e85a43650 /arch/arm | |
parent | fb3c4d926fa52b4a4f5b887eb29d64c24eb93d40 (diff) | |
download | u-boot-953d02f0016c7c8781d697c21013a967a200bfbf.tar.gz |
clock_imx8mq: Make do_imx8m_showclocks() static
Since do_imx8m_showclocks() is only used inside this file, make it 'static'.
This fixes the following sparse warning:
arch/arm/mach-imx/imx8m/clock_imx8mq.c:836:5: warning: no previous prototype
for ‘do_imx8m_showclocks’ [-Wmissing-prototypes]
int do_imx8m_showclocks(cmd_tbl_t *cmdtp, int flag, int argc,
^~~~~~~~~~~~~~~~~~~
Signed-off-by: Pedro Jardim <jardim.c.pedro@gmail.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-imx/imx8m/clock_imx8mq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/imx8m/clock_imx8mq.c b/arch/arm/mach-imx/imx8m/clock_imx8mq.c index 663fe4d3ca..d8530cc808 100644 --- a/arch/arm/mach-imx/imx8m/clock_imx8mq.c +++ b/arch/arm/mach-imx/imx8m/clock_imx8mq.c @@ -811,7 +811,7 @@ int clock_init(void) * Dump some clockes. */ #ifndef CONFIG_SPL_BUILD -int do_imx8m_showclocks(cmd_tbl_t *cmdtp, int flag, int argc, +static int do_imx8m_showclocks(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) { u32 freq; |