From patchwork Wed Sep 13 14:08:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 139021 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:a8d:b0:3f2:4152:657d with SMTP id gr13csp6779vqb; Wed, 13 Sep 2023 11:35:03 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGI3I44YZxi6TIl+RJOAx/Xmvzjf3lpvqak1c2O5mazqT+2k+Rc1Fb2JJZG1JRaykoRaSTC X-Received: by 2002:a05:6a00:2a06:b0:690:25fb:bac1 with SMTP id ce6-20020a056a002a0600b0069025fbbac1mr614534pfb.18.1694630102967; Wed, 13 Sep 2023 11:35:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694630102; cv=none; d=google.com; s=arc-20160816; b=J4dCrRcrMGkgaWS4xfT5YY8dKMxh6u3WFIPUDAiPLDMXCkOttTqucU+QcyaWMin42M f/KMRCXG/vz/WqwO8p+24ezhrqxRabo1MyDMWW1AEd5+seSQLNHTd66RBhQ29jquGhpw g0eAH8c3b4JLm410GAZ4jZwGgxJ/1EkZUfc77YJBOEBJ2CQgbrXkNhtsw4e31VSZrj8I aPqVx1XC6LTpu5jQaZ2FJrhJDy9+RU6MpAaJ/RPCtEz13XNgtgvS3+ik5QCJRlOrNke0 HLWMljVNiMF2LKnGQHxnTZCXxqZ9wHB2NXlRvZpf7Y+gFUPZ0tOJHfj22a137Jr5S7A0 Z2Xw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=Ox4aDBlW9ZlokvXp780broueb+1QXG5aqxXSv5DBNTs=; fh=fKMC3BTGjlLXl5EvEhzqt3WHCynqYJKK7wAqLAOkWUw=; b=ryPQo9Tm5eVS5ORp/KDF5Tox+BxKakU69Zcnb6zBx/10HUOxPr/UwJl/exFnYu9HKs 5F7T/2FuwYwJyCwKHO2zF/LSobYrvYqrLMbz9NPCoYdslyeosepNyuRyLt9naiCayEzA 8JcZq/UCiffgGn5D8eGlupbGQS9laGXHcpf5BKc8pDb+K/YZzTRK11V2xBpEVoYl7Xmy xBKezOCoSCg9+n9sY03GumtreBPy8WwCY2ZTNsLr1X1O7wKepfZZdTlhpkLwBirUre2T +GFKEzHNpWPTL+b8qg/U+orNph8A4eILBDspNH6TdBaNCqp6SrSwmuJ1rWZyep+u1S82 gUoQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id l62-20020a639141000000b0057759a5b7ccsi7562986pge.305.2023.09.13.11.35.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Sep 2023 11:35:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 4B39C83EE9EF; Wed, 13 Sep 2023 07:10:00 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241464AbjIMOJw (ORCPT + 36 others); Wed, 13 Sep 2023 10:09:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53056 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241295AbjIMOI5 (ORCPT ); Wed, 13 Sep 2023 10:08:57 -0400 Received: from laurent.telenet-ops.be (laurent.telenet-ops.be [IPv6:2a02:1800:110:4::f00:19]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 86D691BEA for ; Wed, 13 Sep 2023 07:08:51 -0700 (PDT) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed40:f674:9611:cd05:f25a]) by laurent.telenet-ops.be with bizsmtp id lS8n2A00C3fvA4V01S8nmF; Wed, 13 Sep 2023 16:08:48 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1qgQXe-003ct1-4F; Wed, 13 Sep 2023 16:08:47 +0200 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1qgQXv-00FV61-FZ; Wed, 13 Sep 2023 16:08:47 +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 v2 33/52] m68k: mvme147: Make mvme147_init_IRQ() static Date: Wed, 13 Sep 2023 16:08:23 +0200 Message-Id: <853e29ca81761032c3af132fffbd583b667234a6.1694613528.git.geert@linux-m68k.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Wed, 13 Sep 2023 07:10:00 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1776948454728473419 X-GMAIL-MSGID: 1776948454728473419 When building with W=1: arch/m68k/mvme147/config.c:76:13: warning: no previous prototype for ‘mvme147_init_IRQ’ [-Wmissing-prototypes] 76 | void __init mvme147_init_IRQ(void) | ^~~~~~~~~~~~~~~~ Fix this by making mvme147_init_IRQ() static. The function body was moved to arch/m68k/mvme147/config.c in v2.6.18. Signed-off-by: Geert Uytterhoeven Acked-by: Arnd Bergmann --- v2: - Add Acked-by. --- arch/m68k/mvme147/config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/m68k/mvme147/config.c b/arch/m68k/mvme147/config.c index 4e6218115f43ce56..7dfacd0b207a9750 100644 --- a/arch/m68k/mvme147/config.c +++ b/arch/m68k/mvme147/config.c @@ -73,7 +73,7 @@ static void mvme147_get_model(char *model) * the mvme147 IRQ handling routines. */ -void __init mvme147_init_IRQ(void) +static void __init mvme147_init_IRQ(void) { m68k_setup_user_interrupt(VEC_USER, 192); }