From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CEE0D8F55 for ; Sun, 16 Jul 2023 20:40:03 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4B5FAC433C8; Sun, 16 Jul 2023 20:40:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1689540003; bh=DKwoDzISkE9wh3vvu2XI482adqoYiLokyx+1GWjJ6Ik=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=p1RVlB0ZJdpMzqxutY9xi+BNwQVjcYmtU2GiJ9rKeXh86jK3wsIhYSuIR9kcwY69J VrezKEbvbZaXOafMDlzXPOcL5dhK0yaSlG9BNfwcfVNFSROb+HHP+0C6HLJBcVzYD1 LLka1BEXQWFSQPTVydSVnXJGx/a3XvO5pGaCIF7E= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Aaro Koskinen , Arnd Bergmann , Sasha Levin Subject: [PATCH 6.1 209/591] ARM: omap2: fix missing tick_broadcast() prototype Date: Sun, 16 Jul 2023 21:45:48 +0200 Message-ID: <20230716194929.279431946@linuxfoundation.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230716194923.861634455@linuxfoundation.org> References: <20230716194923.861634455@linuxfoundation.org> User-Agent: quilt/0.67 Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Arnd Bergmann [ Upstream commit 861bc1d2886d47bd57a2cbf2cda87fdbe3eb9d08 ] 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") Acked-by: Aaro Koskinen Link: https://lore.kernel.org/r/20230516153109.514251-9-arnd@kernel.org Signed-off-by: Arnd Bergmann Signed-off-by: Sasha Levin --- 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 1610c567a6a3a..10d2f078e4a8e 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 -- 2.39.2