From nobody Fri Dec 19 06:38:54 2025 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 224D5EC8742 for ; Thu, 7 Sep 2023 18:41:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344212AbjIGSlu (ORCPT ); Thu, 7 Sep 2023 14:41:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55252 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240119AbjIGSls (ORCPT ); Thu, 7 Sep 2023 14:41:48 -0400 Received: from riemann.telenet-ops.be (riemann.telenet-ops.be [195.130.137.80]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 14963135 for ; Thu, 7 Sep 2023 11:41:45 -0700 (PDT) Received: from laurent.telenet-ops.be (laurent.telenet-ops.be [IPv6:2a02:1800:110:4::f00:19]) by riemann.telenet-ops.be (Postfix) with ESMTPS id 4RhL6D010jz4x1G9 for ; Thu, 7 Sep 2023 15:43:00 +0200 (CEST) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed40:c214:2eac:128d:f67e]) by laurent.telenet-ops.be with bizsmtp id j1hx2A00J2mGBSJ011hxtk; Thu, 07 Sep 2023 15:41:59 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1qeFGQ-002m8z-Gj; Thu, 07 Sep 2023 15:41:57 +0200 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1qeFGf-00CMgd-P0; Thu, 07 Sep 2023 15:41:57 +0200 From: Geert Uytterhoeven To: linux-m68k@lists.linux-m68k.org Cc: Arnd Bergmann , Finn Thain , Michael Schmitz , Philip Blundell , Greg Ungerer , Joshua Thompson , Sam Creasey , Laurent Vivier , linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH 20/52] m68k: atari: Make atari_platform_init() static Date: Thu, 7 Sep 2023 15:41:21 +0200 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org When building with W=3D1: arch/m68k/atari/config.c:883:12: warning: no previous prototype for =E2= =80=98atari_platform_init=E2=80=99 [-Wmissing-prototypes] 883 | int __init atari_platform_init(void) | ^~~~~~~~~~~~~~~~~~~ Fix this by making atari_platform_init() static. There was never a user outside arch/m68k/atari/config.c. Signed-off-by: Geert Uytterhoeven --- arch/m68k/atari/config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/m68k/atari/config.c b/arch/m68k/atari/config.c index 38a7c05781059840..b4fe4273ad912ebe 100644 --- a/arch/m68k/atari/config.c +++ b/arch/m68k/atari/config.c @@ -880,7 +880,7 @@ static const struct resource atari_falconide_rsrc[] __i= nitconst =3D { DEFINE_RES_MEM(FALCON_IDE_BASE + 0x38, 2), }; =20 -int __init atari_platform_init(void) +static int __init atari_platform_init(void) { struct platform_device *pdev; int rv =3D 0; --=20 2.34.1