Received: by 2002:a05:6358:51dd:b0:131:369:b2a3 with SMTP id 29csp1081191rwl; Thu, 10 Aug 2023 06:16:33 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF14r2ddNYCfB+OmGvz7ryfYxkdMLpw4jeAHsbiR1cXjeEovnJr6L6vSNhUCHlaxl22ZhGq X-Received: by 2002:a05:6e02:1152:b0:346:f30:ad58 with SMTP id o18-20020a056e02115200b003460f30ad58mr2517217ill.24.1691673393190; Thu, 10 Aug 2023 06:16:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691673393; cv=none; d=google.com; s=arc-20160816; b=MVxaNp924vq07bPYBlQubsLW8h0xMU6IhHmJlOFkQ5KeaYr+ZM+wPFlNW1sPnXAnqI fUm5X2N1z/X/SdyX1Cl7HGIzdXwZ9jiBLP3ABBUj/eyflvc9dvbdUzkm4F48pUnDVm9B IWf6EPZp/2+Y5lZFiC85957Ro+BojOp+IsM/Nwjyow3HCE2olMX1onIMywMhFNt8+HKk ahgrP8/o9UBvAEMrMLrSnyHlgfy1IbZDEfXma6qa+F7E5oW4wwIe8/qCYOmDgID+mrnr kOcoytndgpbCihcI8b+BMXbM63bsrI8fhhOSE7mxTmZGGTb2D4EyWeDgjwI65OK0e5iV BcYg== 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=PHtjiaA8ZSrlvXH1WlaN6WKcWDNYS56CO8VmfB4MlA0=; fh=spLZF6fiERMu1S0buW1gmUoHRfE8/8VAxW12doFDQQY=; b=QbGht+VgWDF/dFL6U47HxZZDCLlKSXAs+AMBiE3f8WPmSMH5gYEwU1oCPvnghUBbub A30kLh2QCftgMO5iinp+NrwCY/of69DldGyWRngCXcFrpnHiABG1Fnxa4hElNLOKk4d7 LAmBwhWFX0tbPyl8qRlDBUYhrq8d7FTmt5+eja4SL0Oe8w1W3rcSA2uVCvw9SwL7RW1X lBC2gm/ssIRuhPlRpPJ/Rjl5zR3NRteESY7TURR21+0zYS6VQYEdzWQdDJ6p9+8yycZp 0GcgMcxeGe9g99QAsfBkl8Vyo8T49199rhJMX9QWTkZaUmbpXAaZUHCf8tnNT8W4/e75 p8sA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=phwjtVKO; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a18-20020a63e852000000b00565134f3406si1469178pgk.660.2023.08.10.06.16.19; Thu, 10 Aug 2023 06:16:33 -0700 (PDT) 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=phwjtVKO; 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 S235462AbjHJMe2 (ORCPT + 99 others); Thu, 10 Aug 2023 08:34:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48384 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234608AbjHJMe1 (ORCPT ); Thu, 10 Aug 2023 08:34:27 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 68BE6268E for ; Thu, 10 Aug 2023 05:34:27 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id F050865B9F for ; Thu, 10 Aug 2023 12:34:26 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 469ABC433C8; Thu, 10 Aug 2023 12:34:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1691670866; bh=y1OGkcrDWN2UhgTfwGpsxeg9TBDGE2j/iZr/nffl+jg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=phwjtVKOP176Ez+BEhi5GxJC1GploMx3rtC+V9YRArJna8IlbXdeJVMCY0OkAzorJ d5V8OZcYEOTmgiNUI5Kb2HU4NWu+dJDEIRfjVYqMU2bwCTSzvKDUK0FCXlkyb/Q97V o2SGbF8AXOoAzTBZHoxrarUKH0uFGeUGNugqFXgAuQO0GRBVyExjXKPTE4iro3ZD6U ZQ3L4XVidv8Vy3+2c+Pvu6Sb7NIk5muajnNfmnhv4f3Z6mTsfDyDmIFdU7UBFENtRk 5YEQWDgUpEkEOyWmdGfslPz21jjFT0m0+zOx29ahI6b+auoy8CR0hB5oJSEGAekQQU rnHuKc0krlmWw== From: Arnd Bergmann To: Thomas Gleixner , Marc Zyngier Cc: Arnd Bergmann , linux-kernel@vger.kernel.org Subject: [PATCH 3/3] irqchip: i8259: mark i8259_of_init() static Date: Thu, 10 Aug 2023 14:33:56 +0200 Message-Id: <20230810123404.1222332-3-arnd@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230810123404.1222332-1-arnd@kernel.org> References: <20230810123404.1222332-1-arnd@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,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 From: Arnd Bergmann i8259_of_init() is only used as an initcall and does not need to be global, so mark it static to avoid: drivers/irqchip/irq-i8259.c:343:12: warning: no previous prototype for 'i8259_of_init' [-Wmissing-prototypes] Signed-off-by: Arnd Bergmann --- drivers/irqchip/irq-i8259.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/irqchip/irq-i8259.c b/drivers/irqchip/irq-i8259.c index b70ce0d3c092e..115bdcffab248 100644 --- a/drivers/irqchip/irq-i8259.c +++ b/drivers/irqchip/irq-i8259.c @@ -340,7 +340,7 @@ static void i8259_irq_dispatch(struct irq_desc *desc) generic_handle_domain_irq(domain, hwirq); } -int __init i8259_of_init(struct device_node *node, struct device_node *parent) +static int __init i8259_of_init(struct device_node *node, struct device_node *parent) { struct irq_domain *domain; unsigned int parent_irq; -- 2.39.2