From patchwork Sat Dec 24 21:14:19 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Pali_Roh=C3=A1r?= X-Patchwork-Id: 36444 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp297377wrt; Sat, 24 Dec 2022 13:17:36 -0800 (PST) X-Google-Smtp-Source: AMrXdXs3RpwTMDWAY8XCYCOAqy41jgBPXNkvbeD7mfw5mcb+jhPPK6L6n/VywcaSjkk3hggrc96t X-Received: by 2002:a17:906:bcd5:b0:7c0:a49a:1 with SMTP id lw21-20020a170906bcd500b007c0a49a0001mr11743343ejb.71.1671916656699; Sat, 24 Dec 2022 13:17:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671916656; cv=none; d=google.com; s=arc-20160816; b=ohFJAlqi9IXqvwXUo479SMRHtFPhFjf2VhM1HQUCqiYfoNFiVFin+7Y7bCDEPPPF9A B5wqWgR615feD6M+BUDLI2+cJxUT4IJziKHdTBk6U/GFFUQmGMzDLIF0O3UMtUnlYzmr 5Ao7jpXOT+QoEFcydEQUsHOmR5C0psZv/2lUSFIx7Pl8MdyWr4mL9j3vohVn8O1WnyIW SiLIdR3tb8uU1zDAVx/IiVlYuT/k6qngyTsi1araPgUjq/CiVTmIXzgDhj3nkGbU+g0s Z6gEDMvYXRrWV3SCoky+V213Kno/XFGsI2CJbroQ6IboSSdKfL3KbhCw//gSLgjnNqW6 rnaA== 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 :dkim-signature; bh=uQXb997hmVvejM49RHLdHK1IB7pbANFVf1FMUVyNDDU=; b=nWHl2LK96oMLnUrOnDSqraHRPFGGCPrWqLmXivVKKa5AhlqfqluTXKrQ6ZAbMunDxc iIxqQL7RoC8EC6S4Vv6PGJCR3B0ZRFp2jeF3zEaX6Y3a41zbkTP2142O758BTl3vRz0S R6K+qtXkBgHX6OrZ8Y4uAlM9/lJH8wBLjYVbmhOppVH8K3uGKx9PW2F22CMIFhaSQTl0 lfA4QGmQ5ZPzo+kq03HSDSpKWV/z7i6Aw9qrUsxnkZrc7vUZVsrgMGQEMFWkfPODWPw4 FdEtnMPkoNDiLa2/KQGCB7+nG9/wNSGp6MmO5LfwyGaz9BEPFCdB/qvxfRq8/ZitqXkJ PIiQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cR6u70y9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id go11-20020a1709070d8b00b0081a9c3ca4bcsi6036196ejc.379.2022.12.24.13.17.12; Sat, 24 Dec 2022 13:17:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cR6u70y9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230216AbiLXVQl (ORCPT + 99 others); Sat, 24 Dec 2022 16:16:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50330 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229445AbiLXVQj (ORCPT ); Sat, 24 Dec 2022 16:16:39 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5D7D8A446 for ; Sat, 24 Dec 2022 13:16:38 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id E7998B80139 for ; Sat, 24 Dec 2022 21:16:36 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4A20EC433D2; Sat, 24 Dec 2022 21:16:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1671916595; bh=RoXrwfU/s5vurCwlxvo8Vd+Lw1JXCW4diLyk4VZ6JDI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=cR6u70y95h2R+t1gaD2QDSB2DCABAVBiIAvdmhHnHOXLA5fddVSelnAd4kZykVEg8 h7TMpEtoktLZzwbmGMs2zY1albKs0iPtHZXmVSodhety7X0wFKGs6rYvEPrdiDJhdD lKR4zeg1DGvqF4Z0lW6o03pBsmCOh3Y4BUcD5egPGfpQVUAD68yM7bdTzKdmX1L0an lIs8V7x41KBM0lxjpe3+P/Mq+OUW0+5Zx47HsQyFC7H+oHt7oI0vCft9qyAWfTXldL WklfcVxPRxfcVsHjtyppKlGSOt+khxqXLSkU6fqQJw15cSrXVGZv/ncesqqkj4od/B juRWKj41jIDRQ== Received: by pali.im (Postfix) id D4C5E9D7; Sat, 24 Dec 2022 22:16:32 +0100 (CET) From: =?utf-8?q?Pali_Roh=C3=A1r?= To: Michael Ellerman , Nicholas Piggin , Christophe Leroy , Scott Wood , Sinan Akman , Martin Kennedy Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 2/8] powerpc/85xx: Mark mpc85xx_ds_pic_init() as static Date: Sat, 24 Dec 2022 22:14:19 +0100 Message-Id: <20221224211425.14983-3-pali@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20221224211425.14983-1-pali@kernel.org> References: <20221224211425.14983-1-pali@kernel.org> MIME-Version: 1.0 X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1753131680438856642?= X-GMAIL-MSGID: =?utf-8?q?1753131680438856642?= Function mpc85xx_ds_pic_init() is not used out of the mpc85xx_ds.c file. Signed-off-by: Pali Rohár --- arch/powerpc/platforms/85xx/mpc85xx_ds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/platforms/85xx/mpc85xx_ds.c b/arch/powerpc/platforms/85xx/mpc85xx_ds.c index f8d2c97f39bd..9a6d637ef54a 100644 --- a/arch/powerpc/platforms/85xx/mpc85xx_ds.c +++ b/arch/powerpc/platforms/85xx/mpc85xx_ds.c @@ -54,7 +54,7 @@ static void mpc85xx_8259_cascade(struct irq_desc *desc) } #endif /* CONFIG_PPC_I8259 */ -void __init mpc85xx_ds_pic_init(void) +static void __init mpc85xx_ds_pic_init(void) { struct mpic *mpic; #ifdef CONFIG_PPC_I8259