From patchwork Tue May 16 20:05:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 13243803 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 B2938C77B75 for ; Tue, 16 May 2023 20:06:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id: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=ufn52BDDpo1WlJ6j/zIZGlfsEfxPvDmNR05JcYqlBBo=; b=BAsaZAyKU3cLj3 m66h5VV1YJ8IPzDrrUDEB76k5hIo9xqnuJslXFlpMlCH8KbYOqeCpoD1eFAugUCl1e5BYFb0yF94b ZqyzhCq1/X3NSgK0E7owrDouGQo07kFzDhPBz3XiovSTtdzK2wuAhuyy8Tma5Igeh314RX3f/5LlK lSr7ghZWwYi68BrEyiexxN6LwaJunknHFcVmuQvdziywfRe5n88mwDr1XE/w/pKZp+50FLAmkwfif a9FQMkVe4EDgW79hhixgfj6l1zABgowg30s8gKTBmCrdwgtIaZfutbNQBtUW6djKwd7jpt5F5xCLS +5fopyj9EjxBahUzm8oQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pz0vW-0070ci-29; Tue, 16 May 2023 20:05:42 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pz0vT-0070c4-2G for linux-arm-kernel@lists.infradead.org; Tue, 16 May 2023 20:05:40 +0000 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 dfw.source.kernel.org (Postfix) with ESMTPS id 4346A63AE3; Tue, 16 May 2023 20:05:39 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 51C02C433EF; Tue, 16 May 2023 20:05:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1684267538; bh=jOaCLqt9lfDL0b/jZW2RMI1YYnbfHLOLMiHxnOKfg+I=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=SRn29TWBolL8E06SvEVXRYmNHxVja3WkTfaclMbTb9FIqPMGNLqkJB4Rf5HPymwET W1yC0qEYh/haNdAOqMlR4HcoM6yVd4S5Y12FaGQ+29LjnGMeSXZGxCL5IVJyaSo9M/ ONyPHcCrbo5Lh8gO3a6T1PJDbj725FwPlWazv/EP6AmQfm0Z/0OjYWq4yNKcC81992 +Ah4gAwS/FIuFXQ0z+dBTTWkPtNr526wiAcuAoMTabLr+5SjGBv2BfViBSgIDWRo3P Vwm4f6aR8vUreKXhzOLKeD+0Qs9L89p5EQOTvyhcl48XArkjUDTcoSPGMUajAQbnb9 OCOwmkVjN1Sfw== From: Arnd Bergmann To: Thomas Gleixner , Marc Zyngier , Alexander Shiyan , Arnd Bergmann Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 3/5] irqchip: clps711x: remove unused clps711x_intc_init() function Date: Tue, 16 May 2023 22:05:06 +0200 Message-Id: <20230516200516.554663-3-arnd@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230516200516.554663-1-arnd@kernel.org> References: <20230516200516.554663-1-arnd@kernel.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230516_130539_782869_9B74ABA9 X-CRM114-Status: GOOD ( 13.02 ) 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 From: Arnd Bergmann This function has no caller or declaration any more: drivers/irqchip/irq-clps711x.c:215:13: error: no previous prototype for 'clps711x_intc_init' The #ifdef check around clps711x_intc_init_dt() is also not needed since the file is only built when that is enabled. Fixes: 4a56f46a7dc6 ("ARM: clps711x: Remove boards support") Signed-off-by: Arnd Bergmann --- drivers/irqchip/irq-clps711x.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/drivers/irqchip/irq-clps711x.c b/drivers/irqchip/irq-clps711x.c index 77ebe7e47e0e..e731e0784f7e 100644 --- a/drivers/irqchip/irq-clps711x.c +++ b/drivers/irqchip/irq-clps711x.c @@ -212,12 +212,6 @@ static int __init _clps711x_intc_init(struct device_node *np, return err; } -void __init clps711x_intc_init(phys_addr_t base, resource_size_t size) -{ - BUG_ON(_clps711x_intc_init(NULL, base, size)); -} - -#ifdef CONFIG_IRQCHIP static int __init clps711x_intc_init_dt(struct device_node *np, struct device_node *parent) { @@ -231,4 +225,3 @@ static int __init clps711x_intc_init_dt(struct device_node *np, return _clps711x_intc_init(np, res.start, resource_size(&res)); } IRQCHIP_DECLARE(clps711x, "cirrus,ep7209-intc", clps711x_intc_init_dt); -#endif From patchwork Tue May 16 20:05:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 13243804 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 1DB28C77B7A for ; Tue, 16 May 2023 20:06:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id: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=vIZDQwSy1F/7GmpSJYFXBaltWarkmsClDOwD60RAKAM=; b=tSqcAV6VlWkTwl ecqSaOu3RzeDcX7j4AH+O7n/0HlP5V5h2U1X+zlkR9sQzsAPiS6s57T2BCcT0DqfH4iFbE6YaaLLW RwGQyjp+bygJXVpUKxeqUgJGizyq5J1lolU0UuHgfsmdyr9Z+etLAxzaY7SugXKLYpPBPcRQfZnUV H+Hn3WOTiSWknZ8Kthq3wN6NsZtVxXixFHm8sGijV/S6VLjCegmKVWf8hV55k99y0T9CHQiJVyS2l dH1h6deh10vkSKmahfhrFtnJrv1uT1y9O0o+4bXLhqOWTnRj8q+tjzyzTzRB7uIt6Wx+iKs6H6KKP 2ulraf7w5hDTWRambAPw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pz0vi-0070ew-1t; Tue, 16 May 2023 20:05:54 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pz0vg-0070eM-1D for linux-arm-kernel@lists.infradead.org; Tue, 16 May 2023 20:05:53 +0000 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 dfw.source.kernel.org (Postfix) with ESMTPS id E7AD663297; Tue, 16 May 2023 20:05:51 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 261F9C433EF; Tue, 16 May 2023 20:05:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1684267551; bh=qyz4rw56+HC6dOFHzFvmq/eJldRmlY0llGb59kScA4Y=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=TbZrs0abiBjSfYoc4+XApzegdn7g4TvGzFoj2IdvLYklyJIxK2B4DSfLtA0cOQO76 m959uQI/ndPgbQRg5SGtF3Gq/DjFZ3D4159hs+oi5gIgYxzLbYJowbqTrEZ2LYG0no ipZX7jiTlVvE+Xwe81xRUKgSEh3C2gtqTZlBGjU7TUySbB478q7LHa/ieq4PpWEzOn y7XnN01V49l5GngGq8WI2VCqqoEdJOXyRuZhlhDmdTFR4JdCxv6pjfVZkv6ehBIV8o 8xjEE5AfKytxDiHpj601yxGmmfXbYblf9qE37/FOZFOWAyiQjKX9mPzeItbIwylvOh l5DY1GdpB0I0Q== From: Arnd Bergmann To: Thomas Gleixner , Marc Zyngier , Shawn Guo , Sascha Hauer Cc: Arnd Bergmann , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 4/5] irqchip: mxs: include linux/irqchip/mxs.h Date: Tue, 16 May 2023 22:05:07 +0200 Message-Id: <20230516200516.554663-4-arnd@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230516200516.554663-1-arnd@kernel.org> References: <20230516200516.554663-1-arnd@kernel.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230516_130552_450877_9E1E09E5 X-CRM114-Status: GOOD ( 12.71 ) 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 From: Arnd Bergmann This header contains the definition for icoll_handle_irq(), which is used in arch/arm/mach-mxs/mach-mxs.c, without this we get a warning about a missing prototype when building with W=1. Signed-off-by: Arnd Bergmann Acked-by: Shawn Guo --- drivers/irqchip/irq-mxs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/irqchip/irq-mxs.c b/drivers/irqchip/irq-mxs.c index 55cb6b5a686e..b3b1fba871c1 100644 --- a/drivers/irqchip/irq-mxs.c +++ b/drivers/irqchip/irq-mxs.c @@ -9,6 +9,7 @@ #include #include #include +#include #include #include #include