From patchwork Wed Aug 7 16:40:56 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: 13756505 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 AB916C3DA7F for ; Wed, 7 Aug 2024 16:44:36 +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=TJ8T3Hsrsw33GF4FCJ0VQDoaVyY9ly9jBma7WTwjbhI=; b=3rniC6MXpr5ldKMa6vUAMmw/RN bI8DUTLQtgK55lNlRi8V8u/VSA2cRwvWZFeEtjzA6nrRi0EnZ5RjZyK+wbuF02d5grdDEYi5eM6pq NXoyD+qmqzP+KltRx9OX94EuA8kmt0wDrtFX1MjAN3uhhsHAajiMKr152Hx2hbAhoA7zjxdTesfM9 eeXwTjf0KV06qAHJsD2KqpQziotNHa9DL+2OM37AIIj1XBMioZ+Ddb2jSuyudjFIMye/5sjQBmOp8 48/5HhNycUPQnyrbjJDq7zfE7+WQ3VMHmNXuyzsIDJMO0Gyzx3LE1ofFifEtlgCygPooyXK3l/vBg YzuCr1ng==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sbjlz-00000005itL-24B1; Wed, 07 Aug 2024 16:44:27 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sbjiz-00000005iGj-0kYK for linux-arm-kernel@lists.infradead.org; Wed, 07 Aug 2024 16:41:22 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id A7AD6611CB; Wed, 7 Aug 2024 16:41:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 347C2C4AF0E; Wed, 7 Aug 2024 16:41:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1723048880; bh=DKN7ukID+Nb5jRg07b2xU1RWKPpu0FzQOEyulxKRRio=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=MVq36Z0T4wlfv4dTgr2V1WLyrUO9XALAfF4t8Mlr1uleLjHkc524kSCGAmem6Qmt+ /C6anQrk7rYScivt+Rh+K8kqzrkJV6JR7F9mN65/wjO+rM6MngQrZYPPgwEzbMYsSd fjdQv+sxdz2tpAK375/362+RlFDPBsgpPyskh4LPWkmx3TFSuiFfEmC0XhTulUm/J9 p+nz0POcVm9UzJgLKx5QgS8e4Y9eQIXkwtisDXid9zYZydYYRHrvcXj9vLQIj+f8I0 S3i4tMTA2og8lH2msYbvYLZ7EAWURcDAVbcQG8vxGj/OGx4SkIH8zx6W2RQ3loIkuF 8cVLvsVA+frEw== 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 v2 04/12] irqchip/armada-370-xp: Put __init attribute after return type in mpic_ipi_init() Date: Wed, 7 Aug 2024 18:40:56 +0200 Message-ID: <20240807164104.4140-5-kabel@kernel.org> X-Mailer: git-send-email 2.44.2 In-Reply-To: <20240807164104.4140-1-kabel@kernel.org> References: <20240807164104.4140-1-kabel@kernel.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240807_094121_285919_9B4D8AAE X-CRM114-Status: GOOD ( 11.30 ) 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 f5a693745785..07004ecec165 100644 --- a/drivers/irqchip/irq-armada-370-xp.c +++ b/drivers/irqchip/irq-armada-370-xp.c @@ -456,7 +456,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;