Received: by 2002:ac0:da4c:0:0:0:0:0 with SMTP id a12csp2569889imi; Mon, 25 Jul 2022 02:09:21 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tCPNneoQzIv4BRAXm+0PZokvFsOzDKzaulnbyPXwcdAF+u67HvASi405cUe6zt5UyAufp7 X-Received: by 2002:a17:90a:c7cf:b0:1f2:5c6d:c038 with SMTP id gf15-20020a17090ac7cf00b001f25c6dc038mr12990530pjb.183.1658740161755; Mon, 25 Jul 2022 02:09:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658740161; cv=none; d=google.com; s=arc-20160816; b=o9BVcb+z+ohVZVksQtO2LaojB1WtyKf6KcozK7XAD3Jcblr0LNxCk1ZcxCNKWxLyjG VZqozEAqGjMbj9MfflRGwYIy/z9aeko/CC4BX+4ZeD3psr0UX/APqiBwndZ0RLLAiKT4 CuD2Ush9XOsss7BEgbpG7goYwXEQlUMJUz9c+jADT6/PEV+1XWhu5cIXOxWZ1kmZStSv wwIRJym4fKKOKYoa8kW1knQfhQMeVfEG25t8KeEIBhYBbTSS5dFsJOr8ez90iVoue9Hp OJHDJyustcFFtqX+aeo+TYTmYnHs8e/eni3HM7Yd7W7xzcP+kwp+TKcZEw+CjDfGe5l9 IyvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:references:in-reply-to:cc:subject :to:reply-to:sender:from:dkim-signature:dkim-signature:date; bh=h07meF+OpyOGWFqSjatb90Ng9PCZSeyT/td6Yf8xpu4=; b=Sed7K71MbQa8J87kKZrCZu8ow2YrYHuKJanR6J/MDHmIUFgy8RjWV6rDzvcex9lSuR GI7lCpLh91VS/G0jJn7pTF3X9vy21m4i/E2oYNkLw10rWPk9cLSnnBqh7IBDYfZBZrL8 VddhOuoMNKDaShWyyDjHIRVY5n1BMTDHewMFSe7cD/mC0/sCA/trI5P1ul1ixpDcCnig Hutrl0pURuSzS7H4G3ueuSCdAXqS8oyAYC79VoBS76fmiXXbDEc+7F2FLXtSOfXUcpOM 5dGbkpRlxDGLYDTJ2D4ZaMoGWl4dre8d7c+8Q1twaG5IwBbTGPmYKqDUjSmStQDgMAPK sRcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=LhjIsMtP; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t2-20020a637802000000b0041a3b1deca2si15810904pgc.218.2022.07.25.02.09.07; Mon, 25 Jul 2022 02:09:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=LhjIsMtP; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234014AbiGYIxU (ORCPT + 99 others); Mon, 25 Jul 2022 04:53:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36932 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233186AbiGYIxR (ORCPT ); Mon, 25 Jul 2022 04:53:17 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9C902140EC for ; Mon, 25 Jul 2022 01:53:16 -0700 (PDT) Date: Mon, 25 Jul 2022 08:53:13 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1658739194; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=h07meF+OpyOGWFqSjatb90Ng9PCZSeyT/td6Yf8xpu4=; b=LhjIsMtP8ti/X3KNzzyVHB68ebEkzGA133oBXDRDqIwerJUbybuyPNDzze8b4XB/51Gnjm EUbQqtkmU8RIWzMr+UIb81ItDINOI1AdqKAkXkVizCwNot1hSZVR7Yd4gmTCy6VNc6fLJa 6iO0KEwNSWkKiBXVqQqPPW+1kt9utrThj3zBT60yF1LUjUVL8hf4ORzUKe3Llj4FP/+NZJ NfXX/lZOq5DoieTyxtU+STkgrIEWqyJs9ptix0wwiLhIEW0VGGdGf1jzGkHKSnn1D9ZWsX JPHoKvIQ47/gnStXcO8u9VdPk8WO3oo4rtOuyVTPQVq8NqomviBSNM29rT6Tnw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1658739194; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=h07meF+OpyOGWFqSjatb90Ng9PCZSeyT/td6Yf8xpu4=; b=6srZl7bD8xAWxb9HR3yLAIewreVjWLeMK2Qxt9gZSMw8Dsw3tcs45H919AJebxL1ubclQ5 sqPSKqBm/wwRLwAA== From: "irqchip-bot for Ben Dooks" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-kernel@vger.kernel.org Subject: [irqchip: irq/irqchip-next] irqchip/mmp: Declare init functions in common header file Cc: Ben Dooks , Marc Zyngier , tglx@linutronix.de In-Reply-To: <20220724222152.551850-1-ben-linux@fluff.org> References: <20220724222152.551850-1-ben-linux@fluff.org> MIME-Version: 1.0 Message-ID: <165873919320.15455.15230987291054613592.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following commit has been merged into the irq/irqchip-next branch of irqchip: Commit-ID: 9d9b010f12cc4e254bbba32d79c965b564a8957f Gitweb: https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms/9d9b010f12cc4e254bbba32d79c965b564a8957f Author: Ben Dooks AuthorDate: Sun, 24 Jul 2022 23:21:52 +01:00 Committer: Marc Zyngier CommitterDate: Mon, 25 Jul 2022 09:42:24 +01:00 irqchip/mmp: Declare init functions in common header file The functions icu_init_irq and mmp2_init_icu are exported from this code, so declare them in the header file to avoid the following sparse warnings: drivers/irqchip/irq-mmp.c:248:13: warning: symbol 'icu_init_irq' was not declared. Should it be static? drivers/irqchip/irq-mmp.c:271:13: warning: symbol 'mmp2_init_icu' was not declared. Should it be static? Signed-off-by: Ben Dooks [maz: fixup commit message] Signed-off-by: Marc Zyngier Link: https://lore.kernel.org/r/20220724222152.551850-1-ben-linux@fluff.org --- arch/arm/mach-mmp/mmp2.h | 2 +- arch/arm/mach-mmp/pxa168.h | 2 +- arch/arm/mach-mmp/pxa910.h | 2 +- include/linux/irqchip/mmp.h | 3 +++ 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-mmp/mmp2.h b/arch/arm/mach-mmp/mmp2.h index 3ebc1bb..7f80b90 100644 --- a/arch/arm/mach-mmp/mmp2.h +++ b/arch/arm/mach-mmp/mmp2.h @@ -5,13 +5,13 @@ #include extern void mmp2_timer_init(void); -extern void __init mmp2_init_icu(void); extern void __init mmp2_init_irq(void); extern void mmp2_clear_pmic_int(void); #include #include #include +#include #include "devices.h" diff --git a/arch/arm/mach-mmp/pxa168.h b/arch/arm/mach-mmp/pxa168.h index 34f907c..c1547e0 100644 --- a/arch/arm/mach-mmp/pxa168.h +++ b/arch/arm/mach-mmp/pxa168.h @@ -5,7 +5,6 @@ #include extern void pxa168_timer_init(void); -extern void __init icu_init_irq(void); extern void __init pxa168_init_irq(void); extern void pxa168_restart(enum reboot_mode, const char *); extern void pxa168_clear_keypad_wakeup(void); @@ -18,6 +17,7 @@ extern void pxa168_clear_keypad_wakeup(void); #include #include #include +#include #include "devices.h" diff --git a/arch/arm/mach-mmp/pxa910.h b/arch/arm/mach-mmp/pxa910.h index 6ace5a8..7d22921 100644 --- a/arch/arm/mach-mmp/pxa910.h +++ b/arch/arm/mach-mmp/pxa910.h @@ -3,13 +3,13 @@ #define __ASM_MACH_PXA910_H extern void pxa910_timer_init(void); -extern void __init icu_init_irq(void); extern void __init pxa910_init_irq(void); #include #include #include #include