Received: by 2002:ac0:da4c:0:0:0:0:0 with SMTP id a12csp29074imi; Thu, 21 Jul 2022 15:14:12 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tllw6KNMTu1X5RbaRZHTkiwv9fxdggBkUB5n7LPdQEQ2mcZnbJWTojpcXjtAtdKGGeNys7 X-Received: by 2002:a17:907:2d23:b0:72b:7c6a:24c with SMTP id gs35-20020a1709072d2300b0072b7c6a024cmr588769ejc.44.1658441652345; Thu, 21 Jul 2022 15:14:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658441652; cv=none; d=google.com; s=arc-20160816; b=gypEb6+2L4y0HyforPvBLrT495uPmHqHeKT2xTJqQM/bTcywxvUg0fVpm6L6vNJoRC rIcszCFL2CXOUIiqozDY5nztdB9+985mF5CvE1LnzRTPYYFZCf/MSwkN576VrMZ+1+05 BoTVzY5DOZ1bT1eWJbQObbcvJYmV1AJ16T15OzjgdGjkVuelgqE/ipdChdnGY+/EQ6pr hjvjkbNGv1faBdN9sQdidHntAiB8lSZPIt3LnirFYZPB0h7R+o/F1jcAG5IcFpbFKBKI h4GNtEzF1nL6uVmGdEFrHHPaIK+Uthdr43Axc6H7khC5n9qAEeX6cokYJo0S1y//tgUM CjGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=psqPVwfRhtyK6BOnzOE9n3JgTkiaWXlfXP/d7apK6ew=; b=guECuxwLO9+KiOMH4s268N6UF83HV7wMhUl8ug2c3S8tkKjK1UaM1Lucw9BEtcmrVQ Wo8pdIEtDE40b8Hw8Y+dru+NBda3IwMoXXo7UxMxnRDqgS/FWOIiOO2fOd5OGxAg2O2p gdnNhP1+EFr3HGnVeAv+xt7Qxna/joAC6RlzHi2LXqVqQyA1t7jQLLWGMm4vsVOCBxQw JWaVmpIBOh1FVTXYNrp6iD9PmigEkYaByTu0rUkW8r/cB/aKwFn9H7uzBTswlTtFN85q GOp23uZK7IZxfq58HbH+ujZntmsKg5ZOEg1RGXjzGrtlSpQy2YnzIZRwlTj4QE0T6tQU alTQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hr34-20020a1709073fa200b00727c6ac5e27si4778498ejc.388.2022.07.21.15.13.47; Thu, 21 Jul 2022 15:14:12 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233927AbiGUVvw (ORCPT + 99 others); Thu, 21 Jul 2022 17:51:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36690 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233766AbiGUVvv (ORCPT ); Thu, 21 Jul 2022 17:51:51 -0400 Received: from luna (cpc152649-stkp13-2-0-cust121.10-2.cable.virginm.net [86.15.83.122]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F0C0387234 for ; Thu, 21 Jul 2022 14:51:50 -0700 (PDT) Received: from ben by luna with local (Exim 4.96) (envelope-from ) id 1oEe5E-001y0G-2Z; Thu, 21 Jul 2022 22:51:48 +0100 From: Ben Dooks To: linux-kernel@vger.kernel.org Cc: maz@kernel.org, tglx@linutronix.de, Ben Dooks Subject: [PATCH] irqchip/mmp: fix missing extern init code Date: Thu, 21 Jul 2022 22:51:47 +0100 Message-Id: <20220721215147.468971-1-ben-linux@fluff.org> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_00,FSL_HELO_NON_FQDN_1, HELO_NO_DOMAIN,KHOP_HELO_FCRDNS,RCVD_IN_SORBS_DUL,RDNS_DYNAMIC, SPF_NONE autolearn=no 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 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 --- include/linux/irqchip/mmp.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/linux/irqchip/mmp.h b/include/linux/irqchip/mmp.h index cb8455c87c8a..aa1813749a4f 100644 --- a/include/linux/irqchip/mmp.h +++ b/include/linux/irqchip/mmp.h @@ -4,4 +4,7 @@ extern struct irq_chip icu_irq_chip; +extern void icu_init_irq(void); +extern void mmp2_init_icu(void); + #endif /* __IRQCHIP_MMP_H */ -- 2.35.1