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 B8DC4C001E0 for ; Thu, 10 Aug 2023 12:34:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235430AbjHJMeL (ORCPT ); Thu, 10 Aug 2023 08:34:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50914 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233364AbjHJMeK (ORCPT ); Thu, 10 Aug 2023 08:34:10 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8A93B2127 for ; Thu, 10 Aug 2023 05:34:10 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 1DB8A65B8B for ; Thu, 10 Aug 2023 12:34:10 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E9F9CC433C8; Thu, 10 Aug 2023 12:34:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1691670849; bh=it2lGyiKvKK8rJkGhAhtlW9olnQHGDG2I/ZknHi9ze4=; h=From:To:Cc:Subject:Date:From; b=iRTSP33m8xkuwTZYDD28i9Fy3VOuAoJnoJCusKb9ccUyKihVj2FNqf7q9jvDwZEve 9W0jnz0zs0jhlm9qfP3PMr5QhkKGt9Qi2DwtgpPd/JWQlbLLTiZZm8E3d64tPdIYx3 5gdB94yeOw+VAFmzA3g9u7ltEkoxbhF/nZosPcn9zi3mIzXiskTCgTdkq5RahpOz19 SQGkcq9DyopFoPrJ6DhJJTs+xFiDGA+dW63LyzNSvPBLDEpQKCDsJvC1xP8KbjyDPE jOGB5Lot4RmsRhpvwFg/OztH/ilxIclADz1itvGzb9cAQagYca9MUiaREVwphGEayn 9dmR49wchRh9g== From: Arnd Bergmann To: Thomas Gleixner , Marc Zyngier Cc: Arnd Bergmann , Chris Zankel , Max Filippov , linux-kernel@vger.kernel.org Subject: [PATCH 1/3] irqchip: xtensa-pic: include header for xtensa_pic_init_legacy() Date: Thu, 10 Aug 2023 14:33:54 +0200 Message-Id: <20230810123404.1222332-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 The declaration for this function is not included, which leads to a harmless warning: drivers/irqchip/irq-xtensa-pic.c:91:12: error: no previous prototype for 'xtensa_pic_init_legacy' [-Werror=missing-prototypes] Signed-off-by: Arnd Bergmann --- drivers/irqchip/irq-xtensa-pic.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/irqchip/irq-xtensa-pic.c b/drivers/irqchip/irq-xtensa-pic.c index ab12328be5eed..0c18d1f1e264f 100644 --- a/drivers/irqchip/irq-xtensa-pic.c +++ b/drivers/irqchip/irq-xtensa-pic.c @@ -16,6 +16,7 @@ #include #include #include +#include #include unsigned int cached_irq_mask; -- 2.39.2