mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Shiji Yang <yangshiji66@outlook.com>
To: linux-mips@vger.kernel.org, linux-gpio@vger.kernel.org,
	linux-spi@vger.kernel.org
Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>,
	John Crispin <john@phrozen.org>,
	Linus Walleij <linus.walleij@linaro.org>,
	Mark Brown <broonie@kernel.org>,
	linux-kernel@vger.kernel.org,
	Shiji Yang <yangshiji66@outlook.com>
Subject: [PATCH 08/16] MIPS: lantiq: falcon: sysctrl: remove unused falcon_trigger_hrst()
Date: Wed, 18 Jun 2025 22:53:21 +0800	[thread overview]
Message-ID: <OSBPR01MB1670DF07F99C2AD77374DA98BC72A@OSBPR01MB1670.jpnprd01.prod.outlook.com> (raw)
In-Reply-To: <OSBPR01MB1670163BDCA60924B3671D45BC72A@OSBPR01MB1670.jpnprd01.prod.outlook.com>

This is a defined but unused function. Fix warning:

arch/mips/lantiq/falcon/sysctrl.c:75:6: error: no previous prototype for 'falcon_trigger_hrst' [-Werror=missing-prototypes]
   75 | void falcon_trigger_hrst(int level)
      |      ^~~~~~~~~~~~~~~~~~~

Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
---
 arch/mips/lantiq/falcon/sysctrl.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/arch/mips/lantiq/falcon/sysctrl.c b/arch/mips/lantiq/falcon/sysctrl.c
index 1187729d8..c65f05115 100644
--- a/arch/mips/lantiq/falcon/sysctrl.c
+++ b/arch/mips/lantiq/falcon/sysctrl.c
@@ -72,11 +72,6 @@
 static void __iomem *sysctl_membase[3], *status_membase;
 void __iomem *ltq_sys1_membase, *ltq_ebu_membase;
 
-void falcon_trigger_hrst(int level)
-{
-	sysctl_w32(SYSCTL_SYS1, level & 1, SYS1_HRSTOUTC);
-}
-
 static inline void sysctl_wait(struct clk *clk,
 		unsigned int test, unsigned int reg)
 {
-- 
2.50.0


  parent reply	other threads:[~2025-06-18 14:54 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-18 14:53 [PATCH 00/16] MIPS: some compilation fixes for the Lantiq platform Shiji Yang
2025-06-18 14:53 ` [PATCH 01/16] MIPS: lantiq: xway: mark ltq_ar9_sys_hz() as static Shiji Yang
2025-06-18 14:53 ` [PATCH 02/16] MIPS: lantiq: xway: mark dma_init() " Shiji Yang
2025-06-18 14:53 ` [PATCH 03/16] MIPS: lantiq: xway: mark dcdc_init() " Shiji Yang
2025-06-18 14:53 ` [PATCH 04/16] MIPS: lantiq: irq: fix misc missing-prototypes warnings Shiji Yang
2025-06-18 14:53 ` [PATCH 05/16] MIPS: lantiq: xway: add prototype for ltq_get_cp1_base() Shiji Yang
2025-06-18 14:53 ` [PATCH 06/16] MIPS: pci: lantiq: marks pcibios_init() as static Shiji Yang
2025-06-18 14:53 ` [PATCH 07/16] MIPS: lantiq: falcon: fix misc missing-prototypes warnings Shiji Yang
2025-06-18 14:53 ` Shiji Yang [this message]
2025-06-18 14:53 ` [PATCH 09/16] MIPS: lantiq: falcon: sysctrl: add missing header prom.h Shiji Yang
2025-06-18 14:53 ` [PATCH 10/16] MIPS: lantiq: falcon: sysctrl: fix request memory check logic Shiji Yang
2025-06-18 14:53 ` [PATCH 11/16] MIPS: lantiq: xway: gptu: mark gptu_init() as static Shiji Yang
2025-06-18 14:53 ` [PATCH 12/16] MIPS: vpe-mt: mark vpe_free() and vpe_stop() " Shiji Yang
2025-07-02 12:06   ` Thomas Bogendoerfer
2025-07-03 13:25     ` Shiji Yang
2025-06-18 14:53 ` [PATCH 13/16] MIPS: vpe-mt: drop unused functions vpe_alloc() and vpe_start() Shiji Yang
2025-06-18 14:53 ` [PATCH 14/16] pinctrl: xway: mark xway_pinconf_group_set() as static Shiji Yang
2025-06-18 14:53 ` [PATCH 15/16] pinctrl: falcon: mark pinctrl_falcon_init() " Shiji Yang
2025-06-18 14:53 ` [PATCH 16/16] spi: falcon: mark falcon_sflash_xfer() " Shiji Yang
2025-06-18 15:08   ` Mark Brown
2025-06-19 18:00 ` (subset) [PATCH 00/16] MIPS: some compilation fixes for the Lantiq platform Mark Brown
2025-06-24 19:04 ` Linus Walleij
2025-07-02 12:07 ` 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=OSBPR01MB1670DF07F99C2AD77374DA98BC72A@OSBPR01MB1670.jpnprd01.prod.outlook.com \
    --to=yangshiji66@outlook.com \
    --cc=broonie@kernel.org \
    --cc=john@phrozen.org \
    --cc=linus.walleij@linaro.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mips@vger.kernel.org \
    --cc=linux-spi@vger.kernel.org \
    --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

all inboxes | Powered by JetHome®