Message ID | 20250107144251.101912-1-wahrenst@gmx.net (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> 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 10FD1E77197 for <linux-arm-kernel@archiver.kernel.org>; Tue, 7 Jan 2025 14:51:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=xFQrLDTViZiWjjLwQVlNYwRn2uOyZ5VxY841DFPTids=; b=HcVWVI5ASh+8Pk+6k4KM+yr997 Tl7pkZAmA3Oh0zsr4udXRMhZxJ9GtqfF6zcJ5nqRcaAOSml82hGmeW0n+9irh2FCI6wkQ3CgV2PgT W56+Fa6SsyyhB5XOkD005zMEg/CRHvfNeR0aXScVkwdDLrGyBNYQPWeDQProW56mbOc933Jj/pZT2 +fjN3a+D0jLDf3gT2wgC4lpjEILGOIGqhtrmnzhhvPsZS0ZlioW1d5sNuq5okNNWGzNqFTlDee4Ha tBOQRjP3hgfpHGUnfOTl4EF+CiIHrruwxJazXogAD/Adx2ynSiOMwAFkEUeWpE7eDPP6jyueWCW0+ FFxOlGeA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tVAvb-00000005Iw0-3NWk; Tue, 07 Jan 2025 14:51:31 +0000 Received: from mout.gmx.net ([212.227.15.15]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tVAnb-00000005Gkj-0M2D for linux-arm-kernel@lists.infradead.org; Tue, 07 Jan 2025 14:43:18 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.net; s=s31663417; t=1736260983; x=1736865783; i=wahrenst@gmx.net; bh=xFQrLDTViZiWjjLwQVlNYwRn2uOyZ5VxY841DFPTids=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:Message-Id: MIME-Version:Content-Transfer-Encoding:cc: content-transfer-encoding:content-type:date:from:message-id: mime-version:reply-to:subject:to; b=qerTNdLKnJODo0IAcDcHdLdjtWBUxvJ/vL6yi3wbgYo9BM4whLcqz1Ule6IJYlrj +wl0z3aUI3Je4P51c8jek8vYfwI8DpmL+xGbFPCdXtEcmjzu5xmcH3uMzryPdvCQs hDocgY4/GvqB+vPanyu0PgSeQOdW5aDxYnM1L9qn1MOl06NQuEW3lowuxZRf1kUUf QMny1oVHuZwFa2HB+tUwhmYF1ThTCKA8rxr2TtIFKOfksKvFFg3ln9GfIRFeq+QxH MKYXQv7qVKSCOuWqO5Qo0Nj/cESyzqz/prfj78VXe6wdZgZclZx1JkrNpx+e2SzE4 s/5k5oCki/7bVzhMbw== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from stefanw-SCHENKER ([37.4.251.153]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MFKGZ-1tFRCY2Rir-003DtV; Tue, 07 Jan 2025 15:43:03 +0100 From: Stefan Wahren <wahrenst@gmx.net> To: Florian Fainelli <florian.fainelli@broadcom.com>, Ray Jui <rjui@broadcom.com>, Scott Branden <sbranden@broadcom.com>, Vinod Koul <vkoul@kernel.org> Cc: Lukas Wunner <lukas@wunner.de>, Peter Robinson <pbrobinson@gmail.com>, "Ivan T . Ivanov" <iivanov@suse.de>, linux-arm-kernel@lists.infradead.org, bcm-kernel-feedback-list@broadcom.com, dmaengine@vger.kernel.org, Stefan Wahren <wahrenst@gmx.net>, kernel test robot <lkp@intel.com> Subject: [PATCH] dmaengine: bcm2835-dma: fix warning when CONFIG_PM=n Date: Tue, 7 Jan 2025 15:42:51 +0100 Message-Id: <20250107144251.101912-1-wahrenst@gmx.net> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:yaUVsQbt7GfhhXIzcKOAAYXvUn+Gxqvvxu3vaUPmgoFX97FuZvz TRdBZlUSEFiJcAw9u/qnM2stgu2qhX1vQ8YwmksopHqHq5m5HYrCuIYwDf7XFxg37SZ09dA KhP3pO7t8XtHc6voxp1vIhwC2Kkbodtj6vr2NVGlcWo8Eix0LaUUJ5FMdbTRf7hTCFIiBCl xupWDfjQiyUyTWjf/jw/Q== UI-OutboundReport: notjunk:1;M01:P0:1hi32d8l5AM=;ehhMs+rkxrIDCM4YSyzGXIMljnO efqXWFYV4O/T77I4k/H4ycCMrBvya52QOXm2TlUAKnJESpQNmlqMUrRClKu/AKOQx4y6xh/rx dtmy3v9j6waTFI4uj59AP1MfUcsLrK1O4X9z3/i47Gwyv1L6gQZ8hfgEyJ+WvjH/cCwqyW7np GdAi6Q9VMIgs3Z5GoJbwnubaesyZD0njAOjxzw5LOuueJ8CkL8SLugYBUoTXup+drG5XpKEyD axylYW/gRIQxz6MscUadIKB1rvBgoi72bpSd3MOboALYPZt7ER0CCSUnkoRnBCjRPsPegGbFC yNSWXp8G3d9NYym+QoTXow68wQvFrhlCqRIjX6P7nv+f5MR2VCvItspLjBXZZUiaaiGkONydT DApPlgllVpIe8h9z44yjH5fzUs5ceWrG9Np9X2EdaFpnxzim6rPE4yX+Yghxdg3Ljt1q+c5sO rsc8E0NR64pFK6zn7WzXQkdHTj8Lu5fdKI0uCuEML9ySZY5bIicr4L5L3zCShXbx49X09m08S UcuRgCTn30IR+phioDQ1kf3aRMiD29NGUdiAmzy6q9IQvTVrvjh4RUcgWthAYNTqXBUqIuNPx g2gEH6Eau3AeFFH+6MgJCKGkemy2YszXPbm5fcxIznnB2iH/QZWpZ5F5UITgFQlheisOV6wvs ghbSuCdG5WCmxobdDse3fdPdQQHgpygTHXN0M0RTaXxxYS7q9V4LgOXEaYfXpWZoynieaR/ya a8fyaSJ293QyABwPjWXyG9i0IJD8XRBIWZyiC3kiDAMXlWcJ8t0KbQnkUHH7QwS/CnWIc1fU8 9RIwdiVdwi5larsnClLFTpi7JJZ03yIMAWdxqrf40jVDDxInOLV91BN/4/jnOlllKcVrTvFH/ D57cqQwFkbiEd0kE4bFD7OLkqVhgL6OmHidQ02TvC9t4fP0Ad2ESe3iHgeKtLJ4BlQ9wZL/Om pnDJbYfSGA25y5wWpsNwgYhlvODvQBr64mW57S6f8gZA0PRe4lsjCN6+IyWu6r5oTA/arKnHz kmGbn7RanYMMigKjAL+RsTHpFxlSLwpOtLODw0DZGRmlTgP+ugL5tcih68yhgKiaQNiXYsRqe Ubr72kkjhjPYD3wGOnKNVDbDUdSqkI X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250107_064315_407889_683CFD32 X-CRM114-Status: GOOD ( 11.57 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
dmaengine: bcm2835-dma: fix warning when CONFIG_PM=n
|
expand
|
diff --git a/drivers/dma/bcm2835-dma.c b/drivers/dma/bcm2835-dma.c index 20b10c15c696..0117bb2e8591 100644 --- a/drivers/dma/bcm2835-dma.c +++ b/drivers/dma/bcm2835-dma.c @@ -893,7 +893,7 @@ static int bcm2835_dma_suspend_late(struct device *dev) } static const struct dev_pm_ops bcm2835_dma_pm_ops = { - SET_LATE_SYSTEM_SLEEP_PM_OPS(bcm2835_dma_suspend_late, NULL) + LATE_SYSTEM_SLEEP_PM_OPS(bcm2835_dma_suspend_late, NULL) }; static int bcm2835_dma_probe(struct platform_device *pdev)
The old SET_LATE_SYSTEM_SLEEP_PM_OPS macro cause a build warning when CONFIG_PM is disabled: warning: 'bcm2835_dma_suspend_late' defined but not used [-Wunused-function] Change this to the modern replacement. Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202501071533.yrFb156H-lkp@intel.com/ Signed-off-by: Stefan Wahren <wahrenst@gmx.net> --- drivers/dma/bcm2835-dma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.34.1