From nobody Wed Dec 17 19:21:05 2025 Received: from smtpout-03.galae.net (smtpout-03.galae.net [185.246.85.4]) (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 6A40A1A9F86 for ; Sun, 5 Oct 2025 20:19:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.246.85.4 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759695592; cv=none; b=ZyCOEkAn9mILQFWHVlqU6IejL75Fabez9iwP/qhRrESzqXVzMWryPHRbU7JJae9XaoNFHeYqflhAqe3C/+iTX27DkbJQb46Onac4TsbJMYMXGcUCIgPxvalJT9BTnfxsJy9cAE23dYu+tWtA0zlfuZdjzqBB3mPcDT9dfJLm35k= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759695592; c=relaxed/simple; bh=rM4/5G2V30Hbl+Iq+kXNIQ4tx7lDkcC9tVgWpq0vXWQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=qEOdBEYKnv+xd46JTV6aICavhKACzhvU+SroWZ41DRfAPZQVzUGkXVqbK/h3hl7WQ1ZUq8LVc86nWBFlUPnQEF5GKVI2vAkRn5EHCILipyuj4Q4Ho+IlDsy21gchavwgpHccu/j8Uil2OkdvPc4DzYx2JJLx8cumh09/x+Dsh0c= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=fNhbgcX2; arc=none smtp.client-ip=185.246.85.4 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="fNhbgcX2" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-03.galae.net (Postfix) with ESMTPS id AAEF74E40EEA; Sun, 5 Oct 2025 20:19:45 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 68A2E6065F; Sun, 5 Oct 2025 20:19:45 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id EF500102F1D0B; Sun, 5 Oct 2025 22:19:41 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1759695584; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding; bh=D1+ThUd0H2aIR2MQVkM0B+QGXcipu5gIAh7qnE8fBhw=; b=fNhbgcX2EhHS7NE7wTwB7JJJIlHkmroOt1QLsmNgouMG2jW8ImCjI3TIVEaiMur8/Qw2cx SLqQZAhWUMMR3i3gM5sEKfXvnRZs9fm9MR36w6pphoUi95lHixWoZPMxlpTI34n3px5A+u OwMp20t2pwQ+A88K8eRtj657wDWQYQiSuxk+UeWYJMXp9Gf44s7Doz6BRAue+EnSIcp8Ct MXi5DrbkbiOJa3Dxv3uWZfpR8HsSr/NvUmP2UXAwCgQeGWQfAbBfvoEwFSEzwDIJlj/K9+ XeXuURp2TxUv3ppgAwjS2LlxSzjlwOYKn2eoCctC1Pib58ryJikBd2UbQs4xrA== From: alexandre.belloni@bootlin.com To: =?UTF-8?q?Cl=C3=A9ment=20L=C3=A9ger?= , Alexandre Belloni Cc: kernel test robot , linux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] rtc: optee: make optee_rtc_pm_ops static Date: Sun, 5 Oct 2025 22:19:24 +0200 Message-ID: <20251005201925.3757345-1-alexandre.belloni@bootlin.com> X-Mailer: git-send-email 2.51.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Last-TLS-Session-Version: TLSv1.3 Content-Type: text/plain; charset="utf-8" From: Alexandre Belloni Fix sparse warningg: drivers/rtc/rtc-optee.c:714:1: sparse: sparse: symbol 'optee_rtc_pm_ops' wa= s not declared. Should it be static? Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202509230549.L26lw7UZ-lkp@int= el.com/ Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-optee.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/rtc/rtc-optee.c b/drivers/rtc/rtc-optee.c index 3d5662aa1bd8..184c6d142801 100644 --- a/drivers/rtc/rtc-optee.c +++ b/drivers/rtc/rtc-optee.c @@ -712,7 +712,7 @@ static int optee_rtc_suspend(struct device *dev) return 0; } =20 -DEFINE_SIMPLE_DEV_PM_OPS(optee_rtc_pm_ops, optee_rtc_suspend, NULL); +static DEFINE_SIMPLE_DEV_PM_OPS(optee_rtc_pm_ops, optee_rtc_suspend, NULL); =20 static const struct tee_client_device_id optee_rtc_id_table[] =3D { {UUID_INIT(0xf389f8c8, 0x845f, 0x496c, --=20 2.51.0