From nobody Wed Apr 15 05:43:14 2026 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 A3B39C43334 for ; Mon, 25 Jul 2022 08:53:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234267AbiGYIxV (ORCPT ); Mon, 25 Jul 2022 04:53:21 -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: quoted-printable 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 ir= qchip: Commit-ID: 9d9b010f12cc4e254bbba32d79c965b564a8957f Gitweb: https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-plat= forms/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 de= clared. Should it be static? drivers/irqchip/irq-mmp.c:271:13: warning: symbol 'mmp2_init_icu' was not d= eclared. 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 =20 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); =20 #include #include #include +#include =20 #include "devices.h" =20 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 =20 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 =20 #include "devices.h" =20 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 =20 extern void pxa910_timer_init(void); -extern void __init icu_init_irq(void); extern void __init pxa910_init_irq(void); =20 #include #include #include #include