From patchwork Mon Jul 15 10:51:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Marek_Beh=C3=BAn?= X-Patchwork-Id: 13733314 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D080BC3DA5D for ; Mon, 15 Jul 2024 10:53:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc: To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=wa0bJqUQSMWShu+19TOAzFP/3J+XWqHGhJwomUPnO64=; b=3E6rdPFvdMiKuU7Tki1HsPXLl9 KCnh+ma3N+8XLF4VVl7E5i935N1CwL4t6xnqVmtXqy2GY903iZFE/zCGqD6xVGyOlqGWi3+XnYsdX OVoTqzns7iC5PWCyVZzf6sJJzurqOxMo2piD8BDzQqwzE3Xx6Ayi5rEwERCPFohgfeulvfby43zEU KbEF7Ps/1HOLlBplo6SUCrTj58RiO9CG6u8zc9ILXum7e73SkaJtJWa56TAja3J/WuQGN/j7JI2xZ Qj07eVV3zKsmIK7wwyLO3gSs2ujNYK9zTg6kBwl0MnxnNTfBBuXSmOasVQtmlIff28UKbow+dE7ro 5pJMkWGA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sTJL2-00000006lrx-2l5W; Mon, 15 Jul 2024 10:53:48 +0000 Received: from sin.source.kernel.org ([2604:1380:40e1:4800::1]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sTJJb-00000006lO9-1IIj for linux-arm-kernel@lists.infradead.org; Mon, 15 Jul 2024 10:52:20 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id B01B4CE0EEF; Mon, 15 Jul 2024 10:52:17 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C5E3CC4AF0B; Mon, 15 Jul 2024 10:52:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1721040737; bh=ruAH41VgmTaGJhntmkCyJkgLkebobBF3HcerS4+je88=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kOCIeqZk1GwtrQji/S067lIo/vsVUY8famSbJfn4Hj2sYuHm0WjDyBqRm/xQebcQb YOURYdv5D3G9nidPUIdg+DG83K4fjqLpUb+SvVuiECtdEqJ5qkeee4UnTKtgkpaITd WRRyf+hlVcHdJMBFwAPtCyHhW1LFF8ZmCxSEvB/7OWddOxQ7JIjsZ5dof95ZvK68Df VU+TNiiRG56FmbLM1nJoob4SBxkVwkNP4PV++xknwfLNopVQStvYfRKUCmQw7fLva4 hO9rWCHVow8sSufFy68oRPxrz9LK0Uertu7e1tAqVUoEtYIdbVGdserQc0BKv2XTiZ OZXfEYDlqZKdw== From: =?utf-8?q?Marek_Beh=C3=BAn?= To: Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Thomas Gleixner , linux-arm-kernel@lists.infradead.org, arm@kernel.org, Andy Shevchenko , Hans de Goede , =?utf-8?q?Ilpo_J=C3=A4rvinen?= Cc: =?utf-8?q?Marek_Beh=C3=BAn?= Subject: [PATCH 05/13] irqchip/armada-370-xp: Put __init attribute after return type in mpic_ipi_init() Date: Mon, 15 Jul 2024 12:51:48 +0200 Message-ID: <20240715105156.18388-6-kabel@kernel.org> X-Mailer: git-send-email 2.44.2 In-Reply-To: <20240715105156.18388-1-kabel@kernel.org> References: <20240715105156.18388-1-kabel@kernel.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240715_035219_544152_2BB77EB1 X-CRM114-Status: GOOD ( 11.32 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org For consistency with the rest of the driver, put the __init attribute after the return type of the mpic_ipi_init() function. Signed-off-by: Marek BehĂșn --- drivers/irqchip/irq-armada-370-xp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/irqchip/irq-armada-370-xp.c b/drivers/irqchip/irq-armada-370-xp.c index 2185f79007f4..646a50d5724f 100644 --- a/drivers/irqchip/irq-armada-370-xp.c +++ b/drivers/irqchip/irq-armada-370-xp.c @@ -464,7 +464,7 @@ static void mpic_ipi_resume(void) } } -static __init int mpic_ipi_init(struct device_node *node) +static int __init mpic_ipi_init(struct device_node *node) { int base_ipi;