From mboxrd@z Thu Jan 1 00:00:00 1970 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 745DBC77B7A for ; Tue, 16 May 2023 20:05:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229712AbjEPUFZ (ORCPT ); Tue, 16 May 2023 16:05:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54940 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229585AbjEPUFX (ORCPT ); Tue, 16 May 2023 16:05:23 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C14DE5FCA for ; Tue, 16 May 2023 13:05:22 -0700 (PDT) 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 5EAA562CEE for ; Tue, 16 May 2023 20:05:22 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7B5A0C433D2; Tue, 16 May 2023 20:05:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1684267521; bh=wikSyWqzlAJd2tgFWBBFCVgyU4deM5B+UNmj/wOjPpE=; h=From:To:Cc:Subject:Date:From; b=J+ZvipnA8doCVHcQF1T6olbgyqzzfVEXHSt8VUWUyYvIdCL5M+5RqBS1M93ppRfkQ 77uKZauXRaFZcyf6/Tfe9RONL7pzWQOqC4uIQJk5v+wGF9vy3ZWhZ61hOzoFd/xUuT BC62Kf5s/yTIbQRfaZoWVFLUB7ZHMA1FdcIjaZwx1GGgivVZGWSACminSLUTSCTobE 3XVXVUNUMaYjOjQpP6QLwppgeFfip3nFarr4g5Y1XjPNSM8wXsywSBRrkjosyLF0gS zF9YqmAxaXl6mwjrRTLhsSW+4b5laIDg2/W2VrgYx84hZydrxrv5sTX2urabAhrMeL myrTRJo4kRMdw== From: Arnd Bergmann To: Thomas Gleixner , Marc Zyngier , Linus Walleij Cc: Arnd Bergmann , linux-kernel@vger.kernel.org Subject: [PATCH 1/5] irqchip: ftintc010: mark all function static Date: Tue, 16 May 2023 22:05:04 +0200 Message-Id: <20230516200516.554663-1-arnd@kernel.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Arnd Bergmann Two functions were always global but never had any callers outside of this file: drivers/irqchip/irq-ftintc010.c:128:39: error: no previous prototype for 'ft010_irqchip_handle_irq' drivers/irqchip/irq-ftintc010.c:165:12: error: no previous prototype for 'ft010_of_init_irq' Fixes: b4d3053c8ce9 ("irqchip: Add a driver for Cortina Gemini") Signed-off-by: Arnd Bergmann --- drivers/irqchip/irq-ftintc010.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/irqchip/irq-ftintc010.c b/drivers/irqchip/irq-ftintc010.c index 46a3aa60e50e..359efc1d1be7 100644 --- a/drivers/irqchip/irq-ftintc010.c +++ b/drivers/irqchip/irq-ftintc010.c @@ -125,7 +125,7 @@ static struct irq_chip ft010_irq_chip = { /* Local static for the IRQ entry call */ static struct ft010_irq_data firq; -asmlinkage void __exception_irq_entry ft010_irqchip_handle_irq(struct pt_regs *regs) +static asmlinkage void __exception_irq_entry ft010_irqchip_handle_irq(struct pt_regs *regs) { struct ft010_irq_data *f = &firq; int irq; @@ -162,7 +162,7 @@ static const struct irq_domain_ops ft010_irqdomain_ops = { .xlate = irq_domain_xlate_onetwocell, }; -int __init ft010_of_init_irq(struct device_node *node, +static int __init ft010_of_init_irq(struct device_node *node, struct device_node *parent) { struct ft010_irq_data *f = &firq; -- 2.39.2