mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Steffen Trumtrar <s.trumtrar@pengutronix.de>
To: Barebox List <barebox@lists.infradead.org>
Subject: [PATCH 2/3] ARM: socfpga: clock-manager: fix Wmissing-prototypes
Date: Thu, 17 Oct 2019 08:09:27 +0200	[thread overview]
Message-ID: <20191017060928.23882-2-s.trumtrar@pengutronix.de> (raw)
In-Reply-To: <20191017060928.23882-1-s.trumtrar@pengutronix.de>

Fix the warning

arch/arm/mach-socfpga/arria10-clock-manager.c:113:14: warning: no previous prototype for
'arria10_cm_get_mmc_controller_clk_hz' [-Wmissing-prototypes]
  113 | unsigned int arria10_cm_get_mmc_controller_clk_hz(void)
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
---
 arch/arm/mach-socfpga/include/mach/arria10-clock-manager.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/mach-socfpga/include/mach/arria10-clock-manager.h b/arch/arm/mach-socfpga/include/mach/arria10-clock-manager.h
index ee2b9b3c5ec1..c0a57439af0d 100644
--- a/arch/arm/mach-socfpga/include/mach/arria10-clock-manager.h
+++ b/arch/arm/mach-socfpga/include/mach/arria10-clock-manager.h
@@ -128,6 +128,7 @@ struct arria10_perpll_cfg {
 
 extern int arria10_cm_basic_init(struct arria10_mainpll_cfg *mainpll_cfg,
 				 struct arria10_perpll_cfg *perpll_cfg);
+unsigned int arria10_cm_get_mmc_controller_clk_hz(void);
 extern unsigned int cm_get_mmc_controller_clk_hz(void);
 extern void arria10_cm_use_intosc(void);
 extern uint32_t cm_l4_main_clk_hz;
-- 
2.23.0


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  reply	other threads:[~2019-10-17  6:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-17  6:09 [PATCH 1/3] ARM: socfpga: reset-manager: " Steffen Trumtrar
2019-10-17  6:09 ` Steffen Trumtrar [this message]
2019-10-17  6:09 ` [PATCH 3/3] ARM: socfpga: arria10-xload: " Steffen Trumtrar
2019-10-18 10:51 ` [PATCH 1/3] ARM: socfpga: reset-manager: " Sascha Hauer

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=20191017060928.23882-2-s.trumtrar@pengutronix.de \
    --to=s.trumtrar@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    /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