From patchwork Thu May 13 05:04:01 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Yingliang X-Patchwork-Id: 12255159 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D52EDC433ED for ; Thu, 13 May 2021 05:03:40 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8FBC96142D for ; Thu, 13 May 2021 05:03:40 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8FBC96142D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=huawei.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version: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:In-Reply-To:References:List-Owner; bh=BrURqHZujWXVSkgB/zajOZgzMvulZ7sCQ3+SOT6/svw=; b=XIOaBe5Xkf0Y2wIWNXzBK4RGmN L6kIb3uz1+Iz6c/SOdReBTe+UGHGXMxElZlXwQ05c6EmqLe60wD4+zVLhV/JImIE75ukbPQw8mVPq FT3gzdRpkRowtFBIMIwywg3cPiEEQhV+XnPgSwT3Kmc4aM3o1+xXHAL6St7JNgc2Udqb/VM3fslL+ jinvREV2St1gLjMxbAIr6CB4PfeLDDCb8TIRi/CQ04bWI0LTNxWCm7JApqB26xYE11ZxoBcom61ZA XW/QhEecUnFknUQ5y2HLx6RUFpo7q4hvPhW6rk+6NCooo+r5RvN9YasONVo1pOMLDTS2TrvvPIsz6 ynQDuazA==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lh3Tt-004lZd-7K; Thu, 13 May 2021 05:01:53 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lh3Tp-004lZ1-5q for linux-arm-kernel@desiato.infradead.org; Thu, 13 May 2021 05:01:50 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Type: Content-Transfer-Encoding:MIME-Version:Message-ID:Date:Subject:CC:To:From: Sender:Reply-To:Content-ID:Content-Description:In-Reply-To:References; bh=NwSnzJ/tR+maZL+qLgb9D9ZBk58jOo9q5aYxU+1OsGM=; b=XFLvbVHMl5uIbS1aJbgkE8tBXY dFjmitFlQWf3LWbCg4Y7dmj0g8E/0or63XSYWPlR7cNEf2FoXw7q7FQUpMCpA/5zQMwfeUf99q0PA 7fRWe7gKWPFiGH+RSrmySDZiBv55hlVT02k+1puYn9fHyGCP1QXG7k6/3e5zetrqVWbiiU7kOElK7 5I0Xr31xWQI5o2RTj59z8pKAJyKGgq1IL0AgVc8Rots+VwpZNxzEY/pi0pvC52WeE+H536Mm52u5F kYL7ICDaiigZ9lLjWi91O/TIxsPtpxhd01yXH/UEZiaScLj+jw62vAmy0wVWWd7uBHQxMiLcYtyMg qqWJNH7A==; Received: from szxga06-in.huawei.com ([45.249.212.32]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lh3Tm-00B12w-1k for linux-arm-kernel@lists.infradead.org; Thu, 13 May 2021 05:01:47 +0000 Received: from DGGEMS403-HUB.china.huawei.com (unknown [172.30.72.59]) by szxga06-in.huawei.com (SkyGuard) with ESMTP id 4FgfZz2hbJzmVJr; Thu, 13 May 2021 12:59:23 +0800 (CST) Received: from huawei.com (10.175.103.91) by DGGEMS403-HUB.china.huawei.com (10.3.19.203) with Microsoft SMTP Server id 14.3.498.0; Thu, 13 May 2021 13:01:34 +0800 From: Yang Yingliang To: , CC: Subject: [PATCH -next] irqchip: ixp4xx: ixp4xx_of_init_irq() can be static Date: Thu, 13 May 2021 13:04:01 +0800 Message-ID: <20210513050401.625106-1-yangyingliang@huawei.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Originating-IP: [10.175.103.91] X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210512_220146_299188_6F0894BB X-CRM114-Status: UNSURE ( 9.26 ) X-CRM114-Notice: Please train this message. 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 ixp4xx_of_init_irq() only used within this file. It should be static. Signed-off-by: Yang Yingliang --- drivers/irqchip/irq-ixp4xx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/irqchip/irq-ixp4xx.c b/drivers/irqchip/irq-ixp4xx.c index 37e0749215c7..09c4dfd1ad01 100644 --- a/drivers/irqchip/irq-ixp4xx.c +++ b/drivers/irqchip/irq-ixp4xx.c @@ -365,7 +365,7 @@ void __init ixp4xx_irq_init(resource_size_t irqbase, EXPORT_SYMBOL_GPL(ixp4xx_irq_init); #ifdef CONFIG_OF -int __init ixp4xx_of_init_irq(struct device_node *np, +static int __init ixp4xx_of_init_irq(struct device_node *np, struct device_node *parent) { struct ixp4xx_irq *ixi = &ixirq;