From patchwork Tue May 16 15:31:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 13243273 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 12E4CC77B7F for ; Tue, 16 May 2023 15:33:27 +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=tJwNsCfb/i4kLSQsnSIp/hfdrcqmqqJdg6Qz+kuqdVA=; b=hJ+3A6EFdkxxWU 27Y2qzFSO0AcADoSjlWoWJd4MOnh34MU0FBVf2t1Oq1lq6RoetTdjpMJoO0IUtaRNNIv/I3/M/pH/ tCyQe1It2egdD/8BI3U46QsNqYBQpYx1SA0Gj1waO1c52Z1VtFUYu2GxJSnK/tUOphn/O/n4axs6m YtXZnnPf06n3gM1nMQ0zluoYMcA5qjE5d8lpIcDhLn24hOGotrciiEpwR+qW4Fg64mFpKniPNrqGA B2/+LE0l1JQovs3pGyW6pVIxBb8vnR0jM/RlChB3uHXOR43JzWqa9Bha3ToUTT4aDSEaP70hGsBRR FW8StbPv0A02I/z4yvsQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pywfl-006GU8-1D; Tue, 16 May 2023 15:33:09 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pywfi-006GSz-2q for linux-arm-kernel@lists.infradead.org; Tue, 16 May 2023 15:33:08 +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 696F06399B; Tue, 16 May 2023 15:33:06 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B3BC3C433A7; Tue, 16 May 2023 15:32:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1684251185; bh=C4SQH88o4X8B0aZDjwE/ytf02UfVOzvqYZUgEam+Yak=; h=From:List-Id:To:Cc:Subject:Date:In-Reply-To:References:From; b=Q/8wxST6e4Z+JZ+RhzY/zoHGngrClR10FXgLYUTQhzQPnn6BqbNnHSWPBclX/ijHr MPlKyvyjHyavoBTrerlvk7AhR1ZSyLUVOeV8I5JzsggGk4lk6aj4AgzHZGLTkB0uAU Igz8wNgGKfKTwxXOt5FYTmPd4IW/ilWnVFQXk8sw1EoFI6b0VdZTiOjdLUzvmLCANw hbrml1KqP8PM1Lvpzxe5JzNmgrEuMaixcAUAe+upaDoq1++2N21SbAmoDO961KedR7 uLaQsXgNa/8BZOgdLjOG95NljNNx3DrW7m2f/N8MvvzWEhaPbGq8OUP16LiA/H4SMq vHc1T58kI5phw== 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 13/13] ARM: versatile: mark mmc_status() static Date: Tue, 16 May 2023 17:31:09 +0200 Message-Id: <20230516153109.514251-14-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_083306_961509_0F84435D X-CRM114-Status: GOOD ( 16.12 ) 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 mmc_status() is only used in the file it is defined in, and no longer has an 'extern' declaration: arch/arm/mach-versatile/versatile.c:56:14: error: no previous prototype for 'mmc_status' Fixes: 16956fed35fe ("ARM: versatile: switch to DT only booting and remove legacy code") Signed-off-by: Arnd Bergmann --- arch/arm/mach-versatile/versatile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-versatile/versatile.c b/arch/arm/mach-versatile/versatile.c index 02ba68abe533..7ef03d0c224d 100644 --- a/arch/arm/mach-versatile/versatile.c +++ b/arch/arm/mach-versatile/versatile.c @@ -53,7 +53,7 @@ static void __iomem *versatile_sys_base; -unsigned int mmc_status(struct device *dev) +static unsigned int mmc_status(struct device *dev) { struct amba_device *adev = container_of(dev, struct amba_device, dev); u32 mask;