From patchwork Tue May 16 15:31:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 13243268 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2E90BC77B7F for ; Tue, 16 May 2023 15:32:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: 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: List-Owner; bh=15pgkfcpIoASi8pX5OZSefjcg0HuBsOUATOTXRnc1B0=; b=A6xwHJWpIqhaBK wABTyUDH1Lh8T1YDz4GqJwk2GLYcD3PXPqbQeo5Ppdc3cV8JSwXFzkCmNstIwe7ggoYs+QgkHBsh9 58tbgQOOrBimT3TMaZEPrxrNF7cRu1xqrfDxOQ8ZdKE6jGSjf1S5N2x02WBo5E7ShEu3C0uj5mxjA Qd67aCVkwS3gFVkFARcw6v0CPj67k7Fk0CXGnsD968LEEcLqc3Fgn2eSxd4kqzBCg1fw6WeA8tuKE KWsGl0fyYXNpAE4/biSzbJXeL1tH0UWF/pEMitqOj2Iq+i/7+vWmUlgfYuqhvU+97V9ylxGb57Z8h Ef1iMlR6xXZrV3rrrpCA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pywf9-006GCq-28; Tue, 16 May 2023 15:32:31 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pywf6-006GBK-1R for linux-arm-kernel@lists.infradead.org; Tue, 16 May 2023 15:32:29 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 002F463B51; Tue, 16 May 2023 15:32:28 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3E920C4339B; Tue, 16 May 2023 15:32:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1684251147; bh=dvQdqL3zWm7vO4AUHY3E39PwDsm+dTszcVCJpk1xl0g=; h=From:List-Id:To:Cc:Subject:Date:In-Reply-To:References:From; b=LLy1+d+/ZCw6Wb4qr5DYAXio7HcbcAKuFJxjrWjq7tmqqOy9SdHdHp0evNa02cqjd WGOgkub2eKH9G8sWfcYvsLCLqejYnItvRYzgP0jpk+D1QijzHW1X7cJHNJF43tRq0V QZ1MdGAE4ryPpIKvCe57NOmzILA9xzp6R5NA8ROPOfASOKgmZRBHBXHbYnngDmV6MZ ub/526cr9ReXuNlkxkjh8EUaV/zL60LKlbQjiN30juWlUtlO65+PII73MHoC8c1SbK XykoHq4KxQdKkw1bENapWueD8wdcB+oNVBX8Hv/EN0vOLG9ceY3BH5ZCefmu5J/Ryn i3xnd7ykEn6kA== From: Arnd Bergmann To: soc@kernel.org Cc: Arnd Bergmann , Russell King , Bartosz Golaszewski , Hartley Sweeten , Alexander Sverdlin , Andre Przywara , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Vladimir Zapolskiy , Aaro Koskinen , Janusz Krzysztofik , Tony Lindgren , Andrew Lunn , Sebastian Hesselbarth , Gregory Clement , Daniel Mack , Haojian Zhuang , Robert Jarzmik , Viresh Kumar , Shiraz Hashim , Sudeep Holla , Lorenzo Pieralisi , Linus Walleij , Michael Turquette , Stephen Boyd , Greg Kroah-Hartman , Alan Stern , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, linux-clk@vger.kernel.org, linux-usb@vger.kernel.org Subject: [PATCH 08/13] ARM: omap2: fix missing tick_broadcast() prototype Date: Tue, 16 May 2023 17:31:04 +0200 Message-Id: <20230516153109.514251-9-arnd@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230516153109.514251-1-arnd@kernel.org> References: <20230516153109.514251-1-arnd@kernel.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230516_083228_529201_2BB91724 X-CRM114-Status: GOOD ( 15.16 ) 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 From: Arnd Bergmann omap2 contains a hack to define tick_broadcast() on non-SMP configurations in place of the normal SMP definition. This one causes a warning because of a missing prototype: arch/arm/mach-omap2/board-generic.c:44:6: error: no previous prototype for 'tick_broadcast' Make sure to always include the header with the declaration. Fixes: d86ad463d670 ("ARM: OMAP2+: Fix regression for using local timer on non-SMP SoCs") Signed-off-by: Arnd Bergmann Acked-by: Aaro Koskinen --- arch/arm/mach-omap2/board-generic.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-omap2/board-generic.c b/arch/arm/mach-omap2/board-generic.c index 853409b341a3..7aa41841edd4 100644 --- a/arch/arm/mach-omap2/board-generic.c +++ b/arch/arm/mach-omap2/board-generic.c @@ -13,6 +13,7 @@ #include #include #include +#include #include #include