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 11/16] MIPS: lantiq: xway: gptu: mark gptu_init() as static
Date: Wed, 18 Jun 2025 22:53:24 +0800 [thread overview]
Message-ID: <OSBPR01MB1670B413FDF211B2211FA9C4BC72A@OSBPR01MB1670.jpnprd01.prod.outlook.com> (raw)
In-Reply-To: <OSBPR01MB1670163BDCA60924B3671D45BC72A@OSBPR01MB1670.jpnprd01.prod.outlook.com>
Fix the following missing-prototypes warning:
arch/mips/lantiq/xway/gptu.c:197:12: error: no previous prototype for 'gptu_init' [-Werror=missing-prototypes]
197 | int __init gptu_init(void)
| ^~~~~~~~~
Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
---
arch/mips/lantiq/xway/gptu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/mips/lantiq/xway/gptu.c b/arch/mips/lantiq/xway/gptu.c
index 8d5200130..484c9e300 100644
--- a/arch/mips/lantiq/xway/gptu.c
+++ b/arch/mips/lantiq/xway/gptu.c
@@ -194,7 +194,7 @@ static struct platform_driver dma_driver = {
},
};
-int __init gptu_init(void)
+static int __init gptu_init(void)
{
int ret = platform_driver_register(&dma_driver);
--
2.50.0
next prev 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 ` [PATCH 08/16] MIPS: lantiq: falcon: sysctrl: remove unused falcon_trigger_hrst() Shiji Yang
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 ` Shiji Yang [this message]
2025-06-18 14:53 ` [PATCH 12/16] MIPS: vpe-mt: mark vpe_free() and vpe_stop() as static 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=OSBPR01MB1670B413FDF211B2211FA9C4BC72A@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®