public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Vincent Legoll <vincent.legoll@gmail.com>
To: John Crispin <john@phrozen.org>,
	Sergio Paracuellos <sergio.paracuellos@gmail.com>,
	Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Cc: linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org,
	Vincent Legoll <vincent.legoll@gmail.com>
Subject: [PATCH 1/2] MIPS: ralink: Fix missing `plat_time_init` prototype
Date: Mon, 12 Aug 2024 15:17:42 +0200	[thread overview]
Message-ID: <20240812131803.16475-2-vincent.legoll@gmail.com> (raw)
In-Reply-To: <20240812131803.16475-1-vincent.legoll@gmail.com>

Fix the following warning:

  CC      arch/mips/ralink/timer-gic.o
arch/mips/ralink/timer-gic.c:18:13: warning: no previous prototype for 'plat_time_init' [-Wmissing-prototypes]
   18 | void __init plat_time_init(void)
      |             ^~~~~~~~~~~~~~

Signed-off-by: Vincent Legoll <vincent.legoll@gmail.com>
---
 arch/mips/ralink/timer-gic.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/mips/ralink/timer-gic.c b/arch/mips/ralink/timer-gic.c
index dcf2a44ac51e..926082655a78 100644
--- a/arch/mips/ralink/timer-gic.c
+++ b/arch/mips/ralink/timer-gic.c
@@ -11,6 +11,8 @@
 #include <linux/of_clk.h>
 #include <linux/clocksource.h>
 
+#include <asm/time.h>
+
 #include "common.h"
 
 void __init plat_time_init(void)
-- 
2.46.0


  reply	other threads:[~2024-08-12 13:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-12 13:17 [PATCH 0/2] MIPS: ralink: Fix missing prototypes warnings Vincent Legoll
2024-08-12 13:17 ` Vincent Legoll [this message]
2024-08-29  8:37   ` [PATCH 1/2] MIPS: ralink: Fix missing `plat_time_init` prototype Thomas Bogendoerfer
2024-08-12 13:17 ` [PATCH 2/2] MIPS: ralink: Fix missing `get_c0_perfcount_int` prototype Vincent Legoll
2024-08-29  8:37   ` Thomas Bogendoerfer

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=20240812131803.16475-2-vincent.legoll@gmail.com \
    --to=vincent.legoll@gmail.com \
    --cc=john@phrozen.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mips@vger.kernel.org \
    --cc=sergio.paracuellos@gmail.com \
    --cc=tsbogend@alpha.franken.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