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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 3F7E5FD2D90 for ; Tue, 10 Mar 2026 13:45:32 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 9194D10E6D5; Tue, 10 Mar 2026 13:45:31 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=fail reason="signature verification failed" (2048-bit key; secure) header.d=codethink.co.uk header.i=@codethink.co.uk header.b="Q0qI0qV1"; dkim-atps=neutral X-Greylist: delayed 1220 seconds by postgrey-1.36 at gabe; Tue, 10 Mar 2026 13:45:29 UTC Received: from imap5.colo.codethink.co.uk (imap5.colo.codethink.co.uk [78.40.148.171]) by gabe.freedesktop.org (Postfix) with ESMTPS id 5937910E225; Tue, 10 Mar 2026 13:45:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=codethink.co.uk; s=imap5-20230908; h=Sender:Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Reply-To:In-Reply-To: References; bh=ACnKL7gpyeb9TEVOS0fUu6uWaHNy0peZe6LdIjuK7os=; b=Q0qI0qV1GEYBk3 iHvQO9SYSioOya9dYWRt/zE+kuLmhIkMbC40PyWTiLdRtrfFz22zK4XRCjW6LE1oEXEMHFl88zrf5 TMYX4iX+ip0unszPFDZ8+DwjOBkpbu1BLSiT85Vt2rtz3UgrOCSxgdO1UDyJZLdHkpnTAKhG+ekoW LCvP1DWbkL8+CeqBnTtWJveBz0/9rJ0j/kBo79t0GVmlQ6kyA9gY0MM81BrjbXsRNkKIMV7XC3VNH g1pWQf9kan1Z4AyA+jNeCu9aFXBbfLlWB43K9nf6AoXqWYF1/It0DvmLVHyNC9mtp5sxYnvFXEGuE A0yHJgZ8kaQFq7gDck1w==; Received: from [63.135.74.212] (helo=rainbowdash) by imap5.colo.codethink.co.uk with esmtpsa (Exim 4.94.2 #2 (Debian)) id 1vzx57-00CxcH-A6; Tue, 10 Mar 2026 13:25:05 +0000 Received: from ben by rainbowdash with local (Exim 4.99.1) (envelope-from ) id 1vzx56-00000000oym-3OCT; Tue, 10 Mar 2026 13:25:04 +0000 From: Ben Dooks To: freedreno@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-arm-msm@vger.kernel.org, simona@ffwll.ch, airlied@gmail.com Cc: marijn.suijten@somainline.org, sean@poorly.run, jesszhan0024@gmail.com, abhinav.kumar@linux.dev, linux-kernel@vger.kernel.org, Ben Dooks Subject: [PATCH] drm/msm/hdmi: make 'msm_hdmi_pm_ops' static Date: Tue, 10 Mar 2026 13:25:01 +0000 Message-Id: <20260310132501.195954-1-ben.dooks@codethink.co.uk> X-Mailer: git-send-email 2.37.2.352.g3c44437643 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" The struct 'msm_hdmi_pm_ops' is not used outside of the file it is defined in, so make it static. Fixes the following sparse warning: drivers/gpu/drm/msm/hdmi/hdmi.c:432:1: warning: symbol 'msm_hdmi_pm_ops' was not declared. Should it be static? Signed-off-by: Ben Dooks --- drivers/gpu/drm/msm/hdmi/hdmi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/msm/hdmi/hdmi.c b/drivers/gpu/drm/msm/hdmi/hdmi.c index 5afac09c0d33..64a0bc7118d5 100644 --- a/drivers/gpu/drm/msm/hdmi/hdmi.c +++ b/drivers/gpu/drm/msm/hdmi/hdmi.c @@ -429,7 +429,7 @@ static int msm_hdmi_runtime_resume(struct device *dev) return ret; } -DEFINE_RUNTIME_DEV_PM_OPS(msm_hdmi_pm_ops, msm_hdmi_runtime_suspend, msm_hdmi_runtime_resume, NULL); +static DEFINE_RUNTIME_DEV_PM_OPS(msm_hdmi_pm_ops, msm_hdmi_runtime_suspend, msm_hdmi_runtime_resume, NULL); static const struct of_device_id msm_hdmi_dt_match[] = { { .compatible = "qcom,hdmi-tx-8998", .data = &hdmi_tx_8974_config }, -- 2.37.2.352.g3c44437643